mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Content management] fix table list flashes table interface when empty (#160650)
Closes https://github.com/elastic/kibana/issues/159507 Closes https://github.com/elastic/kibana/issues/148557 Flaky test runner https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2508 ### Test instructions * Install sample web logs data set * Delete dashboard that ships with sample data set * switch to another app, like visualize * Use debugger tools to throttle network connection to "slow 3g" * Open dashboard application again * Verify empty table view is never displayed and there is no flickering between views. --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
2f03a25362
commit
9f73f9479c
6 changed files with 43 additions and 18 deletions
|
@ -256,6 +256,10 @@ export class ListingTableService extends FtrService {
|
|||
await this.testSubjects.click('newItemButton');
|
||||
}
|
||||
|
||||
public async isShowingEmptyPromptCreateNewButton(): Promise<void> {
|
||||
await this.testSubjects.existOrFail('newItemButton');
|
||||
}
|
||||
|
||||
public async onListingPage(appName: AppName) {
|
||||
return await this.testSubjects.exists(`${appName}LandingPage`, {
|
||||
timeout: 5000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue