From 5d7c922fa6c463fb2bd4187d2a7effc63aabf04d Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Sun, 12 Nov 2023 23:09:37 +0800 Subject: [PATCH] remove usless code addtional information: - add loading .env file in config --- tests/cypress/e2e/helloworld.cy.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/cypress/e2e/helloworld.cy.js b/tests/cypress/e2e/helloworld.cy.js index cee9f41..d6b097e 100644 --- a/tests/cypress/e2e/helloworld.cy.js +++ b/tests/cypress/e2e/helloworld.cy.js @@ -8,13 +8,6 @@ export default function checkLoginUI() { .invoke('attr', 'placeholder') .should('contain', 'Password') } -export function getTerminalrowsContain(content) { - cy.get('@Terminaltextbox') - .get('.xterm-rows') - .children() - .filter(`:contains('${content}')`) -} - describe('example helloworld app', () => { describe('Login tests', () => { beforeEach(() => {