File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ test.describe('Login page', () => {
1717 await login . fillValidInputs ( ) ;
1818 await login . submit ( ) ;
1919 await expect ( login . elements ( ) . errorToast ( ) ) . toContainText (
20- ' Get Nonce: ' + i18n . t ( '__TOAST_GENERIC_ERROR_MESSAGE' )
20+ ` Get Nonce: ${ i18n . t ( '__TOAST_GENERIC_ERROR_MESSAGE' ) } `
2121 ) ;
2222 } ) ;
2323 test ( 'shows a generic error toast whenever wpapi login responds with a 403' , async ( {
@@ -28,7 +28,7 @@ test.describe('Login page', () => {
2828 await login . fillValidInputs ( ) ;
2929 await login . submit ( ) ;
3030 await expect ( login . elements ( ) . errorToast ( ) ) . toContainText (
31- ' Login: ' + i18n . t ( '__TOAST_GENERIC_ERROR_MESSAGE' )
31+ ` Login: ${ i18n . t ( '__TOAST_GENERIC_ERROR_MESSAGE' ) } `
3232 ) ;
3333 } ) ;
3434} ) ;
Original file line number Diff line number Diff line change 11import { type Page } from '@playwright/test' ;
22import { UnguessPage } from '../UnguessPage' ;
3- import { error } from 'console' ;
43
54export class Login extends UnguessPage {
65 readonly page : Page ;
You can’t perform that action at this time.
0 commit comments