@@ -15,7 +15,7 @@ export class MyRedisDatabasePage {
15
15
githubButton = Selector ( '[data-testid=github-repo-icon]' ) ;
16
16
browserButton = Selector ( '[data-testid=browser-page-btn]' ) ;
17
17
pubSubButton = Selector ( '[data-testid=pub-sub-page-btn]' ) ;
18
- myRedisDBButton = Selector ( '[data-test-subj=home-page-btn]' , { timeout : 1000 } ) ;
18
+ myRedisDBButton = Selector ( '[data-test-subj=home-page-btn]' ) ;
19
19
deleteDatabaseButton = Selector ( '[data-testid^=delete-instance-]' ) ;
20
20
confirmDeleteButton = Selector ( '[data-testid^=delete-instance-]' ) . withExactText ( 'Remove' ) ;
21
21
toastCloseButton = Selector ( '[data-test-subj=toastCloseButton]' ) ;
@@ -30,10 +30,6 @@ export class MyRedisDatabasePage {
30
30
sortByHostAndPort = Selector ( 'span' ) . withAttribute ( 'title' , 'Host:Port' ) ;
31
31
sortByConnectionType = Selector ( 'span' ) . withAttribute ( 'title' , 'Connection Type' ) ;
32
32
sortByLastConnection = Selector ( 'span' ) . withAttribute ( 'title' , 'Last connection' ) ;
33
- importDatabasesBtn = Selector ( '[data-testid=import-dbs-btn]' ) ;
34
- submitImportBtn = Selector ( '[data-testid=submit-btn]' ) ;
35
- closeDialogBtn = Selector ( '[aria-label="Closes this modal window"]' ) ;
36
- okDialogBtn = Selector ( '[data-testid=ok-btn]' ) ;
37
33
//CHECKBOXES
38
34
selectAllCheckbox = Selector ( '[data-test-subj=checkboxSelectAll]' ) ;
39
35
//ICONS
@@ -50,7 +46,6 @@ export class MyRedisDatabasePage {
50
46
//TEXT INPUTS (also referred to as 'Text fields')
51
47
aliasInput = Selector ( '[data-testid=alias-input]' ) ;
52
48
searchInput = Selector ( '[data-testid=search-database-list]' ) ;
53
- importDatabaseInput = Selector ( '[data-testid=import-databases-input-file]' ) ;
54
49
//TEXT ELEMENTS
55
50
moduleTooltip = Selector ( '.euiToolTipPopover' ) ;
56
51
moduleQuantifier = Selector ( '[data-testid=_module]' ) ;
@@ -60,10 +55,6 @@ export class MyRedisDatabasePage {
60
55
hostPort = Selector ( '[data-testid=host-port]' ) ;
61
56
noResultsFoundMessage = Selector ( 'div' ) . withExactText ( 'No results found' ) ;
62
57
noResultsFoundText = Selector ( 'div' ) . withExactText ( 'No databases matched your search. Try reducing the criteria.' ) ;
63
- failedImportMessage = Selector ( '[data-testid=result-failed]' ) ;
64
- successImportMessage = Selector ( '[data-testid=result-success]' ) ;
65
- // DIALOG
66
- importDbDialog = Selector ( '[data-testid=import-dbs-dialog]' ) ;
67
58
68
59
/**
69
60
* Click on the database by name
0 commit comments