|
12 | 12 | // See the License for the specific language governing permissions and |
13 | 13 | // limitations under the License. |
14 | 14 |
|
15 | | -describe('Home navigation', () => { |
16 | | - it('Should display sidebar links', () => { |
17 | | - cy.visit('http://127.0.0.1:7280/ui'); |
18 | | - cy.get('a') |
19 | | - .should('be.visible') |
20 | | - .should('contain.text', 'Query editor') |
21 | | - .should('contain.text', 'Indexes') |
22 | | - .should('contain.text', 'Cluster'); |
| 15 | +describe("Home navigation", () => { |
| 16 | + it("Should display sidebar links", () => { |
| 17 | + cy.visit("http://127.0.0.1:7280/ui"); |
| 18 | + cy.get("a") |
| 19 | + .should("be.visible") |
| 20 | + .should("contain.text", "Query editor") |
| 21 | + .should("contain.text", "Indexes") |
| 22 | + .should("contain.text", "Cluster"); |
23 | 23 | }); |
24 | | - it('Should navigate to cluster state', () => { |
25 | | - cy.visit('http://127.0.0.1:7280/ui'); |
26 | | - cy.get('a').contains('Cluster').click(); |
27 | | - cy.get('p').should('contain.text', 'Cluster'); |
28 | | - cy.get('span').should('contain.text', 'cluster_id'); |
| 24 | + it("Should navigate to cluster state", () => { |
| 25 | + cy.visit("http://127.0.0.1:7280/ui"); |
| 26 | + cy.get("a").contains("Cluster").click(); |
| 27 | + cy.get("p").should("contain.text", "Cluster"); |
| 28 | + cy.get("span").should("contain.text", "cluster_id"); |
29 | 29 | }); |
30 | | - it('Should display otel logs index page', () => { |
31 | | - cy.visit('http://127.0.0.1:7280/ui/indexes/otel-logs-v0_7'); |
32 | | - cy.get('a') |
33 | | - .should('be.visible') |
34 | | - .should('contain.text', 'Indexes') |
| 30 | + it("Should display otel logs index page", () => { |
| 31 | + cy.visit("http://127.0.0.1:7280/ui/indexes/otel-logs-v0_7"); |
| 32 | + cy.get("a").should("be.visible").should("contain.text", "Indexes"); |
35 | 33 | }); |
36 | | -}) |
| 34 | +}); |
0 commit comments