Skip to content

Commit

Permalink
fix: solve woo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
preda-bogdan committed Nov 22, 2023
1 parent 7a3daf0 commit 8d3dac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/envs/cli-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ init_environment(){
wp --allow-root theme install --activate $NEVE_LOCATION
wp --allow-root option update fresh_site 0
echo "Installing Theme API Plugin"
wp --allow-root plugin install https://github.com/cristian-ungureanu/wp-thememods-api/archive/refs/heads/main.zip --force --activate
wp --allow-root plugin install https://github.com/codeinwp/wp-thememods-api/archive/refs/heads/main.zip --force --activate
}


Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/specs/woo-visual-regression/checkout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test.describe('Checkout page check', () => {
await page.goto('/product/album/');
await page.locator('.single_add_to_cart_button').click();
await page.goto('/checkout/');
await page.locator('#place_order').click();
await page.getByRole('button', { name: 'Place Order' }).click();
await page.waitForTimeout(1000);
await expect(page).toHaveScreenshot({ maxDiffPixelRatio: 0.2 });
});
Expand Down

0 comments on commit 8d3dac8

Please sign in to comment.