@@ -44,9 +44,9 @@ test.beforeEach(async ({ page }) => {
4444 await expect ( page . getByText ( "ZKsync SSO Demo" ) ) . toBeVisible ( ) ;
4545} ) ;
4646
47- test ( "Create account w/ session and send ETH" , async ( { page } ) => {
47+ test ( "Create account with session and send ETH" , async ( { page } ) => {
4848 // Click the Connect button
49- await page . getByRole ( "button" , { name : "Connect w/ Session" , exact : true } ) . click ( ) ;
49+ await page . getByRole ( "button" , { name : "Connect with Session" , exact : true } ) . click ( ) ;
5050
5151 // Ensure popup is displayed
5252 await page . waitForTimeout ( 2000 ) ;
@@ -105,9 +105,9 @@ test("Create account w/ session and send ETH", async ({ page }) => {
105105 . toBeGreaterThan ( endBalance + 0.1 ) ;
106106} ) ;
107107
108- test ( "Create account w/ session and send ETH w/ paymaster" , async ( { page } ) => {
108+ test ( "Create account with session and send ETH with paymaster" , async ( { page } ) => {
109109 // Click the Connect button
110- await page . getByRole ( "button" , { name : "Connect w/ Session" , exact : true } ) . click ( ) ;
110+ await page . getByRole ( "button" , { name : "Connect with Session" , exact : true } ) . click ( ) ;
111111
112112 // Ensure popup is displayed
113113 await page . waitForTimeout ( 2000 ) ;
@@ -156,9 +156,9 @@ test("Create account w/ session and send ETH w/ paymaster", async ({ page }) =>
156156 . replace ( "Balance: " , "" )
157157 . replace ( " ETH" , "" ) ;
158158
159- // Send some eth w/ paymaster
160- await page . getByRole ( "button" , { name : "Send 0.1 ETH w/ Paymaster" , exact : true } ) . click ( ) ;
161- await expect ( page . getByRole ( "button" , { name : "Send 0.1 ETH w/ Paymaster" , exact : true } ) ) . toBeEnabled ( ) ;
159+ // Send some eth with paymaster
160+ await page . getByRole ( "button" , { name : "Send 0.1 ETH with Paymaster" , exact : true } ) . click ( ) ;
161+ await expect ( page . getByRole ( "button" , { name : "Send 0.1 ETH with Paymaster" , exact : true } ) ) . toBeEnabled ( ) ;
162162 const endBalance = + ( await page . getByText ( "Balance:" ) . innerText ( ) )
163163 . replace ( "Balance: " , "" )
164164 . replace ( " ETH" , "" ) ;
@@ -268,7 +268,7 @@ test("Create passkey account and send ETH", async ({ page }) => {
268268 . toBeGreaterThan ( endBalance + 0.1 ) ;
269269} ) ;
270270
271- test ( "Create passkey account and send ETH w/ paymaster" , async ( { page } ) => {
271+ test ( "Create passkey account and send ETH with paymaster" , async ( { page } ) => {
272272 // Click the Connect button
273273 await page . getByRole ( "button" , { name : "Connect" , exact : true } ) . click ( ) ;
274274
@@ -325,8 +325,8 @@ test("Create passkey account and send ETH w/ paymaster", async ({ page }) => {
325325 . replace ( "Balance: " , "" )
326326 . replace ( " ETH" , "" ) ;
327327
328- // Send some eth w/ paymaster
329- await page . getByRole ( "button" , { name : "Send 0.1 ETH w/ Paymaster" , exact : true } ) . click ( ) ;
328+ // Send some eth with paymaster
329+ await page . getByRole ( "button" , { name : "Send 0.1 ETH with Paymaster" , exact : true } ) . click ( ) ;
330330
331331 // Wait for Auth Server to pop back up
332332 await page . waitForTimeout ( 2000 ) ;
@@ -362,7 +362,7 @@ test("Create passkey account and send ETH w/ paymaster", async ({ page }) => {
362362 await page . waitForTimeout ( 2000 ) ;
363363
364364 // Confirm transfer completed and balance updated
365- await expect ( page . getByRole ( "button" , { name : "Send 0.1 ETH w/ Paymaster" , exact : true } ) ) . toBeEnabled ( ) ;
365+ await expect ( page . getByRole ( "button" , { name : "Send 0.1 ETH with Paymaster" , exact : true } ) ) . toBeEnabled ( ) ;
366366 const endBalance = + ( await page . getByText ( "Balance:" ) . innerText ( ) )
367367 . replace ( "Balance: " , "" )
368368 . replace ( " ETH" , "" ) ;
0 commit comments