Skip to content

fix(percy) Dismiss assistant in project releases visual test#12635

Merged
markstory merged 1 commit into
masterfrom
project-release-assistant
Apr 4, 2019
Merged

fix(percy) Dismiss assistant in project releases visual test#12635
markstory merged 1 commit into
masterfrom
project-release-assistant

Conversation

@markstory

Copy link
Copy Markdown
Member

I've been noticing an assistant cue appearing inconsistently on the project without releases visual test. We can get more stable results by ensuring the assistant has been dismissed first.

I've been noticing an assistant cue appearing inconsistently on the
project without releases visual test. We can get more stable results by
ensuring the assistant has been dismissed first.
@markstory markstory requested a review from a team April 3, 2019 20:39
self.browser.wait_until('.ref-project-releases')
self.browser.snapshot('project releases without releases')

def dismiss_assistant(self):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this something we want as a method in AcceptanceTestCase? Or maybe just disable entirely on the frontend?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Disabling on the front-end would save us time from having to disable the assistant, but adds behavior that only exists in selenium which seems not great.

Adding a method to AcceptanceTestCase could work. We'd need a parameter for which assistant(s) need dismissal. I'm not sure I like dismiss_assistant(2) though.

@markstory markstory merged commit 4bc90e4 into master Apr 4, 2019
@markstory markstory deleted the project-release-assistant branch April 4, 2019 19:43
@lauryndbrown lauryndbrown restored the project-release-assistant branch April 4, 2019 23:10
@lauryndbrown lauryndbrown deleted the project-release-assistant branch April 4, 2019 23:10
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants