-
Notifications
You must be signed in to change notification settings - Fork 16
feat: Allow setting minimum AT version from test plan report status dialog #1386
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
base: development
Are you sure you want to change the base?
feat: Allow setting minimum AT version from test plan report status dialog #1386
Conversation
const { | ||
isRequired, | ||
at, | ||
browser, | ||
minimumAtVersion, | ||
// minimumAtVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably just delete this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 367c320
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one question re: failing e2e tests on my local machine, but otherwise this feature is working for me and implementation looks ok!
One UI note that I don't think we need to fix now: I couldn't actually figure out where to pop open the dialog with the updated table because the buttons are not visually distinct or styled as buttons! I basically didn't even know those "Required Reports" buttons were even clickable until you added the steps to test! This might be something we'll want to revisit later?
|
||
await page.evaluate(select => { | ||
// Set to VoiceOver 14.0 (At.id is 5 from sample data). Default At.id was 3 (VoiceOver 11.6 (20G165)) | ||
select.value = '5'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the reason this test is failing for me locally. My local db is probably not in the state it needs to be in order for this test to pass, but I'm also wondering why we're not just setting the value to the id of the AT version (for example, for 14.0)... Syncing the values might make for more durable tests and maybe just makes more senes? Is there a reason we're using a separate numbering scheme for the values here?
Screenshot from a test run on my local at the moment where this test fails for me:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok now the test is passing locally for me now with this change! Tho I'm still curious about why we're using separate incrementing numbers for the values here as that seems a little brittle. But if it's a local test data sync issue, then maybe the bigger problem is how were setting up and tearing down test data across multiple environments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But if it's a local test data sync issue, then maybe the bigger problem is how were setting up and tearing down test data across multiple environments.
Yep definitely think there's more to discuss in that space
Address #1368
Testing guidelines: