File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,12 @@ export const logout = async () => {
371
371
372
372
export const goToFeatureVersions = async ( featureIndex : number ) => {
373
373
await gotoFeature ( featureIndex )
374
- await click ( byId ( 'change-history' ) )
374
+ if ( await isElementExists ( 'change-history' ) ) {
375
+ await click ( byId ( 'change-history' ) )
376
+ } else {
377
+ await click ( byId ( 'tabs-overflow-button' ) )
378
+ await click ( byId ( 'change-history' ) )
379
+ }
375
380
}
376
381
377
382
export const compareVersion = async (
Original file line number Diff line number Diff line change 8
8
createRemoteConfig ,
9
9
editRemoteConfig , getFlagsmith ,
10
10
log ,
11
- login , refreshUntilElementVisible ,
11
+ login ,
12
12
waitForElementVisible ,
13
13
} from '../helpers.cafe' ;
14
14
import { E2E_USER , PASSWORD } from '../config' ;
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ const Tabs: React.FC<TabsProps> = ({
178
178
height : 32 ,
179
179
width : 32 ,
180
180
} }
181
+ data-test = 'tabs-overflow-button'
181
182
>
182
183
< DropdownMenu
183
184
items = { overflow . map ( ( child , i ) => {
You can’t perform that action at this time.
0 commit comments