Skip to content

Commit

Permalink
test: checking e2e configuration as not working on production
Browse files Browse the repository at this point in the history
Co-authored-by: Dario G.Mori <[email protected]>
  • Loading branch information
GOLASOOO committed May 1, 2024
1 parent a32169d commit 644889a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/e2e/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
testMatch: ["**/steps/*.js"],
testMatch: ["**/steps/login_positive.steps.js"],
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testTimeout: 30000
}
1 change: 1 addition & 0 deletions webapp/e2e/steps/login_positive.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ defineFeature(feature, test => {
let header = await page.$eval("h2", (element) => {
return element.innerHTML
})
console.log("H2 retrieved from webpage: " + header);
let value = header === "Bienvenid@ " + username || header === "Welcome " + username;

expect(value).toBeTruthy();
Expand Down

0 comments on commit 644889a

Please sign in to comment.