Commit a9b4b02f authored by Tamaki Fujino's avatar Tamaki Fujino Committed by Yas Naoi
Browse files

Issue #3284947 by TamakiFujino, yas, kumikoono: Hotfix - Refactor to use the...

Issue #3284947 by TamakiFujino, yas, kumikoono: Hotfix - Refactor to use the full path for URL matching
parent 31e19ab0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Feature: Approve of launching an EC2 instance as "Cloud administrator"
    And I click "{{ instance_name }}"
    And I should see the heading "{{ instance_name }}"
    And I click "Approve"
    And the url should match "/clouds/design/server_template/{{ cloud_context }}/approve"
    And the url should match "/approve"
    And I press "Approve"
    And I wait for AJAX to finish
    Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
+2 −2
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ Feature: Launch an EC2 instance with various instance types as "Authenticated Us
    And I click <instance_name>
    And I should see the heading <instance_name>
    And I click "Approve"
    And the url should match "/clouds/design/server_template/{{ cloud_context }}/approve"
    And the url should match "/approve"
    And I press "Approve"
    And I wait for AJAX to finish
    Then the url should match "/clouds/design/server_template/{{ cloud_context }}/"
@@ -62,7 +62,7 @@ Feature: Launch an EC2 instance with various instance types as "Authenticated Us
    When I visit "/clouds/design/server_template/{{ cloud_context }}"
    And I click <instance_name>
    And I click "Launch"
    And the url should match "/clouds/design/server_template/{{ cloud_context }}/launch"
    And the url should match "/launch"
    And I check the box "Automatically terminate instance"
    And I press "Launch"
    Then I should be on "/clouds/aws_cloud/{{ cloud_context }}/instance"