Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestScriptVerification - wv416 #4137

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

shan14T
Copy link

@shan14T shan14T commented Oct 22, 2024

made required changes to scripts after verification - wv416

What github.com/wevote/WebApp/issues does this fix?

wv416

Changes included this pull request?

changes to ReadyPage.js
changes to ready.page.js

@fdiazq fdiazq self-requested a review October 25, 2024 04:39
const text4 = (await this.finePrintStepHeaderText4);
console.log("text4: " + text4);

await expect(text1).toHaveText('You cannot cast your vote electronically');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you modify this test case to look if element is displayed instead of searching for secific text such as if id is present

Copy link
Member

@fdiazq fdiazq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -24,7 +24,9 @@ class ReadyPage extends Page {
}

get ballotAddress () {
return $('#ballotTitleBallotAddress');
//return $('#ballotTitleBallotAddress');
return $('//span[@class ="u-cursor--pointer u-link-color u-link-underline-on-hover"]');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shan14T For the locators that dont have id's could you add them in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants