check for visibility first

This commit is contained in:
Ashley Harrison
2023-08-29 16:56:05 +01:00
parent fa4c926d89
commit 77e0fe15a3
@@ -108,7 +108,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -124,7 +124,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -134,7 +134,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -151,7 +151,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -167,7 +167,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -177,7 +177,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -194,7 +194,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -210,7 +210,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
@@ -220,7 +220,7 @@ e2e.scenario({
e2e.components.Panels.Visualization.Table.body()
.should('be.visible')
.within(() => {
e2e().get('[role="row"]').first().should('include.text', '00:00:00');
e2e().get('[role="row"]').first().should('be.visible').should('include.text', '00:00:00');
});
});
},