ci: Fix a flaky e2e test in 5-ndv.cy.ts (no-changelog) (#8177)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-12-28 15:13:59 +01:00 committed by GitHub
parent cf7f6688ba
commit 18e476a26a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,6 +511,7 @@ describe('NDV', () => {
ndv.getters.outputDisplayMode().find('label').eq(1).should('include.text', 'JSON');
ndv.getters.outputDisplayMode().find('label').eq(1).click();
ndv.getters.outputDataContainer().find('.json-data').should('be.visible');
ndv.getters.outputDataContainer().should('have.text', '[{"body": "<?xml version="1.0" encoding="UTF-8"?> <library> <book> <title>Introduction to XML</title> <author>John Doe</author> <publication_year>2020</publication_year> <isbn>1234567890</isbn> </book> <book> <title>Data Science Basics</title> <author>Jane Smith</author> <publication_year>2019</publication_year> <isbn>0987654321</isbn> </book> <book> <title>Programming in Python</title> <author>Bob Johnson</author> <publication_year>2021</publication_year> <isbn>5432109876</isbn> </book> </library>"}]');
ndv.getters.outputDataContainer().find('mark').should('have.text', '<lib')