Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Self healing test is not healing more than 2 test scenarios #4534

Unanswered
Naveen-web-spec asked this question in Q&A
Discussion options

I have added a self healing test for seeCheckboxIsChecked.In one of the test module there are 4 tests scenarios failing for the same step of (I.selectAllCheckbox()). But it only heals 2 scenarios . If I try to run each scenario individually it heals all the test individually but if I tried to run the module it's only heals 2 . Remaining 2 gets failed every time.

`heal.addRecipe('selectAllCheckbox', {
priority: 1,
steps: ['seeCheckboxIsChecked'],

grep: '@flaky',

fn: async () => {
return ({ I }) => {
I.refreshPage();
I.wait(2)
I.dontSeeCheckboxIsChecked(locate('[type="checkbox"]').at(2))
I.click("[class='v-selection-control__input']")
I.seeCheckboxIsChecked(locate('[type="checkbox"]').at(2))
};
},
});`

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /