Skip to content

Commit 5346a72

Browse files
authored
fix(test): folder no auth test description (usebruno#8560)
* fix(test): folder no auth test description * fix
1 parent b394453 commit 5346a72

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

tests/auth/auth-mode/folder-no-auth-stops-inheritance.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('Request inherits No Auth from the folder — collection Bearer Token is ov
4141
await page.getByRole('button', { name: 'Save' }).click();
4242
});
4343

44-
await test.step('Create an HTTP request inside folder-1 and set auth type for the request as Inherit', async () => {
44+
await test.step(`Create an HTTP request inside folder-1 and verify its auth mode defaults to Inherit`, async () => {
4545
const requestName = 'http-request-1';
4646
await createRequest(page, requestName, 'folder-1', {
4747
inFolder: true,
@@ -51,7 +51,6 @@ test('Request inherits No Auth from the folder — collection Bearer Token is ov
5151
});
5252
await openRequest(page, collectionName, requestName);
5353
await selectRequestPaneTab(page, 'Auth');
54-
await selectAuthMode(page, AUTH_MODE_LABELS.INHERIT);
5554
await expect(locators.auth.modeSelector()).toContainText(AUTH_MODE_LABELS.INHERIT);
5655
});
5756

tests/auth/auth-mode/modified-indicator-for-auth.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test.describe('Modified indicator for auth tab', () => {
9696
await page.getByRole('button', { name: 'Save' }).click();
9797
});
9898

99-
await test.step(`Create a ${protocol} request inside folder-1 (auth defaults to Inherit)`, async () => {
99+
await test.step(`Create a ${protocol} request inside folder-1 and verify its auth mode defaults to Inherit`, async () => {
100100
await createRequest(page, requestName, 'folder-1', { inFolder: true, requestType, url });
101101
await openRequest(page, collectionName, requestName);
102102
await selectRequestPaneTab(page, 'Auth');

0 commit comments

Comments
 (0)