We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8923b5 commit 0e991e4Copy full SHA for 0e991e4
tests/test-team/template-mgmt-component-tests/template-mgmt-common.steps.ts
@@ -78,9 +78,14 @@ export function assertHeaderWhenSignedIn({
78
await expect(page.headerAccountDisplayName).toContainText(
79
expectedDisplayName
80
);
81
+ // eslint-disable-next-line unicorn/prefer-ternary
82
+ if (expectedClientName) {
83
await expect(page.headerAccountClientName).toContainText(
84
expectedClientName
85
86
+ } else {
87
+ await expect(page.headerAccountClientName).toBeHidden();
88
+ }
89
await expect(page.headerNavigationLinks).toBeVisible();
90
});
91
}
0 commit comments