Skip to content

Commit

Permalink
WP version bump and e2e fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitguptaindia committed Nov 11, 2024
1 parent bab5c27 commit 0cc06b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: woocommerce, automattic
Tags: woocommerce, bookings, accommodations
Requires at least: 6.5
Tested up to: 6.6
Tested up to: 6.7
Stable tag: 1.2.9
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down
6 changes: 3 additions & 3 deletions tests/e2e/global-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ module.exports = async (config) => {
await adminPage.goto(`/wp-admin`);
await adminPage.fill('input[name="log"]', admin.username);
await adminPage.fill('input[name="pwd"]', admin.password);
await adminPage.click('text=Log In');
await adminPage.locator("#wp-submit").click();
await adminPage.waitForLoadState('networkidle');
await adminPage.goto(`/wp-admin`);
await adminPage.waitForLoadState('domcontentloaded');
Expand Down Expand Up @@ -146,8 +146,8 @@ module.exports = async (config) => {
await customerPage.goto(`/wp-admin`);
await customerPage.fill('input[name="log"]', customer.username);
await customerPage.fill('input[name="pwd"]', customer.password);
await customerPage.click('text=Log In');
await adminPage.waitForLoadState('networkidle');
await customerPage.locator("#wp-submit").click();
await customerPage.waitForLoadState('networkidle');

await customerPage.goto(`/my-account`);
await expect(
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/global-teardown.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = async (config) => {
await adminPage.goto(`/wp-admin`);
await adminPage.locator('input[name="log"]').fill(admin.username);
await adminPage.locator('input[name="pwd"]').fill(admin.password);
await adminPage.locator("text=Log In").click();
await adminPage.locator("#wp-submit").click();
await adminPage.goto(
`/wp-admin/admin.php?page=wc-settings&tab=advanced&section=keys`
);
Expand Down
2 changes: 1 addition & 1 deletion woocommerce-accommodation-bookings.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Author URI: https://woocommerce.com
* Text Domain: woocommerce-accommodation-bookings
* Domain Path: /languages
* Tested up to: 6.6
* Tested up to: 6.7
* Requires at least: 6.5
* WC tested up to: 9.4
* WC requires at least: 9.2
Expand Down

0 comments on commit 0cc06b1

Please sign in to comment.