Closed (fixed)
Project:
Cloud
Version:
6.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
31 Aug 2023 at 05:09 UTC
Updated:
19 Sep 2023 at 07:29 UTC
Jump to comment: Most recent
And I should see "pending" in the "BDD_Instance_07lQUl" row
BDD_Instance_07lQUl, but it did not contain the text pending. (RuntimeException) @api
Scenario: Launch an EC2 instance # features/tmp.20220930_182600.07lQUl/AWS-ATDD-02-04-LaunchInstances.feature:5
Given I am logged in as user "BDD_user_07lQUl" # Drupal\DrupalExtension\Context\DrupalContext::iAmLoggedInAsUser()
When I visit "/clouds/design/server_template/bdd_aws_07lqul_ap_northeast_1" # Drupal\DrupalExtension\Context\MinkContext::assertAtPath()
And I click "BDD_Instance_07lQUl" # Drupal\DrupalExtension\Context\MinkContext::assertClick()
And I should see the heading "BDD_Instance_07lQUl" # Drupal\DrupalExtension\Context\MinkContext::assertHeading()
And I click "Launch" # Drupal\DrupalExtension\Context\MinkContext::assertClick()
And the url should match "/launch" # Drupal\DrupalExtension\Context\MinkContext::assertUrlRegExp()
And I check the box "Automatically terminate instance" # Drupal\DrupalExtension\Context\MinkContext::assertCheckBox()
And I press "Launch" # Drupal\DrupalExtension\Context\MinkContext::pressButton()
Then I should be on "/clouds/aws_cloud/bdd_aws_07lqul_ap_northeast_1/instance" # Drupal\DrupalExtension\Context\MinkContext::assertPageAddress()
And I should see the success message "has been launched" # Drupal\DrupalExtension\Context\MessageContext::assertSuccessMessage()
And I should see "pending" in the "BDD_Instance_07lQUl" row # Drupal\DrupalExtension\Context\DrupalContext::assertTextInTableRow()
Found a row containing "BDD_Instance_07lQUl", but it did not contain the text "pending". (RuntimeException)
│
│ Screenshot at: sites/screenshots/093022-113646_AWS-ATDD-02-04-LaunchInstances_16F.html
│
└─ @AfterStep # Drupal\DrupalExtension\Context\DrupalContext::takeScreenshotOnFailure()
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
phyllanthus commentedComment #4
yas@nakamurarts
Thank you for the refactoring. Please add the same to https://git.drupalcode.org/project/cloud/-/blob/6.x/modules/cloud_servic...
Thanks
Comment #5
phyllanthus commented@yas
Thank you for the review.
Sorry for the delayed response. I have made the same correction in other parts.
Comment #6
yas@nakamurarts
Thank you for the update. It looks good to me now. I'll merge the patch to
5.xand6.x, and close this issue as Fixed.Comment #9
yas