@@ -43,13 +43,6 @@ test.describe('Account metadata', { tag: ['@group=metadata', '@webOnly'] }, () =
4343 await expect (
4444 walletPage . accountLabel ( { symbol : 'btc' , type : 'normal' , atIndex : 0 } ) ,
4545 ) . toHaveText ( 'even cooler' ) ;
46-
47- await expect (
48- metadataPage . account . successLabel ( AccountLabelId . BitcoinDefault1 ) ,
49- ) . toBeVisible ( ) ;
50- await expect (
51- metadataPage . account . successLabel ( AccountLabelId . BitcoinDefault1 ) ,
52- ) . toBeHidden ( ) ;
5346 } ) ;
5447
5548 await test . step ( 'Discard label changes via Escape' , async ( ) => {
@@ -86,27 +79,6 @@ test.describe('Account metadata', { tag: ['@group=metadata', '@webOnly'] }, () =
8679 ) . toHaveText ( 'Bitcoin #1' ) ;
8780 } ) ;
8881
89- await test . step ( 'Switch between segwit accounts and check success indicators' , async ( ) => {
90- await walletPage . segwitGroupButton . click ( ) ;
91- await walletPage . openAccount ( { symbol : 'btc' , type : 'segwit' , atIndex : 0 } ) ;
92-
93- await metadataPage . account . addLabel (
94- AccountLabelId . BitcoinSegwit1 ,
95- 'typing into one input' ,
96- ) ;
97- await expect (
98- metadataPage . account . successLabel ( AccountLabelId . BitcoinSegwit1 ) ,
99- ) . toBeVisible ( ) ;
100-
101- await walletPage . openAccount ( { symbol : 'btc' , type : 'segwit' , atIndex : 1 } ) ;
102- await expect (
103- metadataPage . account . successLabel ( AccountLabelId . BitcoinSegwit2 ) ,
104- ) . toBeHidden ( ) ;
105- await expect (
106- metadataPage . account . successLabel ( AccountLabelId . BitcoinSegwit1 ) ,
107- ) . toBeHidden ( ) ;
108- } ) ;
109-
11082 await test . step ( 'Navigate to dashboard' , async ( ) => {
11183 await dashboardPage . dashboardMenuButton . click ( ) ;
11284 await expect ( dashboardPage . graph ) . toBeVisible ( ) ;
@@ -122,7 +94,7 @@ test.describe('Account metadata', { tag: ['@group=metadata', '@webOnly'] }, () =
12294 'adding label to a newly added account. does it work?' ,
12395 ) ;
12496 await expect (
125- walletPage . accountLabel ( { symbol : 'btc' , type : 'normal' , atIndex : 2 } ) ,
97+ walletPage . accountLabel ( { symbol : 'btc' , type : 'normal' , atIndex : 3 } ) ,
12698 ) . toHaveText ( 'adding label to a newly added account. does it work?' ) ;
12799 } ) ;
128100 } ) ;
0 commit comments