Skip to content

Commit ddd703e

Browse files
committed
add debug logs
1 parent 3d11fae commit ddd703e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

e2e/test-utils/stackable.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class StackableFixture {
1717
}
1818

1919
const finishedCallback = async ( request: Request ) => {
20+
console.log( 'url', request.url() )
2021
if ( request.url().includes( 'stackable/v3/settings' ) && request.method() === 'GET' ) {
2122
try {
2223
let settings = null

e2e/tests/admin.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ test( 'Stackable settings should be saved', async ( {
4242

4343
// There should be no PHP errors
4444
const pageError = await admin.getPageError()
45+
46+
console.log( 'getting page error' )
4547
expect( pageError ).toBeNull()
48+
console.log( 'no page error' )
4649

4750
// Retrieves the value of the first option, toggles it and check if the value changed
4851
const option = page.locator( '.ugb-admin-toggle-setting' ).first().getByRole( 'switch' )

0 commit comments

Comments
 (0)