|
30 | 30 | //Hover on the refresh icon
|
31 | 31 | await t.hover(browserPage.refreshKeysButton);
|
32 | 32 | //Verify the last update info
|
33 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nless than a minute ago', 'tooltip text'); |
| 33 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nnow', 'tooltip text'); |
34 | 34 | });
|
35 | 35 | test
|
36 | 36 | .meta({ rte: rte.standalone })
|
|
43 | 43 | await t.wait(120000);
|
44 | 44 | //Hover on the refresh icon
|
45 | 45 | await t.hover(browserPage.refreshKeyButton);
|
46 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\n2 minutes ago', 'tooltip text'); |
| 46 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\n2 min', 'tooltip text'); |
47 | 47 | //Click on Refresh and check last refresh
|
48 | 48 | await t.click(browserPage.refreshKeyButton);
|
49 | 49 | await t.hover(browserPage.refreshKeyButton);
|
50 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nless than a minute ago', 'tooltip text'); |
| 50 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nnow', 'tooltip text'); |
51 | 51 | });
|
52 | 52 | test
|
53 | 53 | .meta({ rte: rte.standalone })
|
|
59 | 59 | //Hover on the refresh icon
|
60 | 60 | await t.hover(browserPage.refreshKeyButton);
|
61 | 61 | //Verify the last update info
|
62 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nless than a minute ago', 'tooltip text'); |
| 62 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nnow', 'tooltip text'); |
63 | 63 | });
|
64 | 64 | test
|
65 | 65 | .meta({ rte: rte.standalone })
|
|
71 | 71 | //Hover on the keys refresh icon
|
72 | 72 | await t.hover(browserPage.refreshKeysButton);
|
73 | 73 | //Verify the last update info
|
74 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nless than a minute ago', 'tooltip text'); |
| 74 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nnow', 'tooltip text'); |
75 | 75 | //Hover on the key in details refresh icon
|
76 | 76 | await t.hover(browserPage.refreshKeyButton);
|
77 | 77 | //Verify the last update info
|
78 |
| - await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nless than a minute ago', 'tooltip text'); |
| 78 | + await t.expect(browserPage.tooltip.innerText).contains('Last Refresh\nnow', 'tooltip text'); |
79 | 79 | });
|
0 commit comments