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

[New k6 Perf Test]: Verify the page title of the Shop page #46438

Closed
juliaamosova opened this issue Apr 10, 2024 · 0 comments · Fixed by #46469
Closed

[New k6 Perf Test]: Verify the page title of the Shop page #46438

juliaamosova opened this issue Apr 10, 2024 · 0 comments · Fixed by #46469
Assignees
Labels
focus: performance tests The issue/PR is release to performance testing. focus: release Issues related to releasing WooCommerce. team: Solaris type: enhancement The issue is a request for an enhancement.

Comments

@juliaamosova
Copy link
Contributor

juliaamosova commented Apr 10, 2024

Describe the solution you'd like

In p1712762933174399/1712740857.054269-slack-C7YPW6K40, Atomic shared a list of assertions from their smoke tests that need to be added to our k6 perf tests.

For example, Atomic tests for the page title of the /shop page below:

$this->deploy_checks['pool1']['https://xxxxxx.xxxxx.yyyyy/shop/'] = array(
    sprintf( '/%s/', preg_quote( '<title>Shop &#8211; Site Title</title>', '/' ) ),
    <h2\s+[^>]*class="woocommerce-loop-category__title"[^>]*>\s*Clothing/i'

☝️ This could be added to the plugins/woocommerce/tests/performance/requests/shopper/shop-page.js. Currently, this test does not check for the Shop page title.

Describe alternatives you've considered

No response

Additional context

No response

@juliaamosova juliaamosova added type: enhancement The issue is a request for an enhancement. focus: performance tests The issue/PR is release to performance testing. labels Apr 10, 2024
@rodelgc rodelgc closed this as completed Apr 11, 2024
@juliaamosova juliaamosova added focus: release Issues related to releasing WooCommerce. team: Solaris labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: performance tests The issue/PR is release to performance testing. focus: release Issues related to releasing WooCommerce. team: Solaris type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants