Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new section in i_create_a_node.js Cypress step definition file for the campaign_landing_page content type. #12458

Closed
3 tasks done
Tracked by #12611 ...
ndouglas opened this issue Feb 7, 2023 · 2 comments
Labels

Comments

@ndouglas
Copy link
Contributor

ndouglas commented Feb 7, 2023

See #11493.

Acceptance Criteria

  • A section has been created in i_create_a_node.js corresponding to the specified content type.
  • A new test is added in content_type__<content_type>.feature utilizing the step definition to create and save a node of the specified content type.
  • Tests pass reliably (run the specific content type's test in a loop 20 times without failure). This is probably most easily done by running a script like the following:
content_type=banner;
for i in $(seq 1 20); do
  echo "Running test # ${i}...";
  ./node_modules/.bin/cypress run --spec "tests/cypress/integration/behavioral/content_type__${content_type}.feature";
done;
@ndouglas
Copy link
Contributor Author

This was actually closed by #12456, I just lost count.

@ndouglas
Copy link
Contributor Author

This actually took more like a 5 😩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant