Skip to content

test(gui): update login flow test suite to use newer auth widget#988

Merged
epmog merged 1 commit intoaws-deadline:mainlinefrom
andychoquette:chore/fix-squish-tests
Feb 10, 2026
Merged

test(gui): update login flow test suite to use newer auth widget#988
epmog merged 1 commit intoaws-deadline:mainlinefrom
andychoquette:chore/fix-squish-tests

Conversation

@andychoquette
Copy link
Copy Markdown
Contributor

Fixes:

What was the problem/requirement? (What/Why)

The existing squish UI tests were checking for the presence of UI elements that no longer exist, specifically the AUTHENTICATED and AUTHORIZED components, and the "OK" button, which is now "Ok".

What was the solution? (How)

Update the selectors to target existing elements

What is the impact of this change?

Squish test suite will pass.

How was this change tested?

I ran the Squish tests locally.

Was this change documented?

No changes to documentation, but docstrings were added to clarify the functionality of the selectors

Does this PR introduce new dependencies?

This library is designed to be integrated into third-party applications that have bespoke and customized deployment environments. Adding dependencies will increase the chance of library version conflicts and incompatabilities. Please evaluate the addition of new dependencies. See the Dependencies section of DEVELOPMENT.md for more details.

  • This PR adds one or more new dependency Python packages. I acknowledge I have reviewed the considerations for adding dependencies in DEVELOPMENT.md.
  • [ x ] This PR does not add any new dependencies.

Is this a breaking change?

No

Does this change impact security?

  • Does the change need to be threat modeled? For example, does it create or modify files/directories that must only be readable by the process owner? No
    • If so, then please label this pull request with the "security" label. We'll work with you to analyze the threats.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@andychoquette andychoquette requested a review from a team as a code owner February 3, 2026 20:26
Comment on lines +73 to 78
authentication_profile_button = {
"container": authentication_status_widget,
"type": "QPushButton",
"unnamed": 1,
"visible": 1,
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Aren't there multiple buttons such as login, switch profile, and more info?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I only see "Log in" as an button within that widget. Do you see other buttons?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're right, I was confused by line 10.

Comment thread test/squish/suite_deadline_gui/shared/scripts/loginout_locators.py Outdated
Comment thread test/squish/suite_deadline_gui/shared/scripts/loginout_helpers.py
@andychoquette andychoquette force-pushed the chore/fix-squish-tests branch 4 times, most recently from ca165fa to f5c5770 Compare February 6, 2026 17:39
Comment on lines +73 to 78
authentication_profile_button = {
"container": authentication_status_widget,
"type": "QPushButton",
"unnamed": 1,
"visible": 1,
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're right, I was confused by line 10.

@epmog epmog force-pushed the chore/fix-squish-tests branch from f5c5770 to 3076a06 Compare February 9, 2026 16:19
@epmog epmog changed the title Updated squish e2e tests to pass with current UI test(gui): update login flow test suite to use newer auth widget Feb 9, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Feb 9, 2026

@epmog epmog enabled auto-merge (squash) February 9, 2026 16:20
@andychoquette andychoquette force-pushed the chore/fix-squish-tests branch from 3076a06 to 50d97e1 Compare February 9, 2026 21:48
Signed-off-by: apcho <apcho@amazon.com>
@sonarqubecloud
Copy link
Copy Markdown

@epmog epmog merged commit 64ef7c9 into aws-deadline:mainline Feb 10, 2026
27 checks passed
This was referenced Feb 24, 2026
crowecawcaw added a commit to crowecawcaw/deadline-cloud that referenced this pull request Feb 26, 2026
…ine GUI (aws-deadline#988)

Signed-off-by: apcho <apcho@amazon.com>
Co-authored-by: apcho <apcho@amazon.com>
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.

5 participants