Closed (fixed)
Project:
Cloud
Version:
7.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Feb 2024 at 18:35 UTC
Updated:
13 Mar 2024 at 00:44 UTC
Jump to comment: Most recent
In k8s_common.yml, the launch_git_repository is set to https://github.com/ms448/test.git which does not exist.
This is causing errors in BDD testing
Scenario: Create a Launch template # features/tmp.20240227_062915.MKEcZM/K8s-ATDD-03-01-OperateLaunchGitTemplates.feature:6
Given I am logged in as user "BDD_user_MKEcZM" # Drupal\Tests\cloud\Behat\features\bootstrap\FeatureContext::iAmLoggedInAsUser()
When I visit "clouds/design/server_template/bdd_k8s_mkeczm/k8s/add" # Drupal\DrupalExtension\Context\MinkContext::assertAtPath()
And I enter "BDD_launch_git_MKEcZM" for "Name" # Drupal\DrupalExtension\Context\MinkContext::assertEnterField()
And I select "bdd-namespace-mkeczm" from "Namespace" # Drupal\DrupalExtension\Context\MinkContext::selectOption()
And I click "GIT" # Drupal\DrupalExtension\Context\MinkContext::assertClick()
And I should see "Configuration" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
And I should see "Credentials" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
And I enter "" for "Git username" # Drupal\DrupalExtension\Context\MinkContext::assertEnterField()
And I enter "" for "Git password" # Drupal\DrupalExtension\Context\MinkContext::assertEnterField()
And I wait for AJAX to finish # Drupal\DrupalExtension\Context\MinkContext::iWaitForAjaxToFinish()
And I should see "Source" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
And I select "GitHub" from "Source type" # Drupal\DrupalExtension\Context\MinkContext::selectOption()
And I wait for AJAX to finish # Drupal\DrupalExtension\Context\MinkContext::iWaitForAjaxToFinish()
And I enter "https://github.com/ms448/test.git" for "Git repository" # Drupal\DrupalExtension\Context\MinkContext::assertEnterField()
And I press "Source" # Drupal\DrupalExtension\Context\MinkContext::pressButton()
And I wait for AJAX to finish # Drupal\DrupalExtension\Context\MinkContext::iWaitForAjaxToFinish()
And I press "Source" # Drupal\DrupalExtension\Context\MinkContext::pressButton()
And I should see "Branch" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
And I select "main" from "Git branch or tag" # Drupal\DrupalExtension\Context\MinkContext::selectOption()
Select option with value|text "main" not found. (Behat\Mink\Exception\ElementNotFoundException)
│
│ Screenshot at: sites/screenshots/022724-011121_K8s-ATDD-03-01-OperateLaunchGitTemplates_28-FAIL.png
│
└─ @AfterStep # Dr
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
baldwinlouie commented@yas, please review this patch. This changes the
launch_git_repositoryin k8s_common.yml for BDD testing.Comment #4
yas@baldwinlouie
Thank you for the patch. I'll merge the patch to
5.x,6.xand7.x, and close this Jira ticket. ThanksComment #8
yas