Skip to content

Commit

Permalink
Fix screenshot path
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkamp committed Nov 22, 2024
1 parent 79cac35 commit 5ff55c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/global-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = async ( config ) => {
try {
console.log( 'Trying to log-in as admin...' );
await adminPage.goto( `/wp-login.php` );
await adminPage.screenshot( { path: `tests/e2e/test-results/global/setup/admin-page-${i}.png`, fullPage: true } )
await adminPage.screenshot( { path: `tests/e2e/test-results/report/setup/admin-page-${i}.png`, fullPage: true } )

Check failure on line 52 in tests/e2e/global-setup.js

View workflow job for this annotation

GitHub Actions / Lint JavaScript

[prettier/prettier] Replace `·path:·`tests/e2e/test-results/report/setup/admin-page-${i}.png`,·fullPage:·true·}·)` with `⏎↹↹↹↹path:·`tests/e2e/test-results/report/setup/admin-page-${·i·}.png`,⏎↹↹↹↹fullPage:·true,⏎↹↹↹}·);`
await adminPage
.locator( 'input[name="log"]' )
.fill( admin.username );
Expand Down

0 comments on commit 5ff55c2

Please sign in to comment.