Skip to content
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

[Test] Add Basic Authentication Tests #1127

Closed
unlikelyzero opened this issue Dec 7, 2023 · 3 comments
Closed

[Test] Add Basic Authentication Tests #1127

unlikelyzero opened this issue Dec 7, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists feature A new feature

Comments

@unlikelyzero
Copy link

unlikelyzero commented Dec 7, 2023

Feature Description

I recently migrated from v0.44 to v0.48 and am using basic authentication. I would like to provide a way to ensure that basic authentication continues to work between versions (especially if #1117 goes through).

How would you recommend I get started in contributing basic auth tests? I didn't see anything in the k6 http test suite.

  
  // Create a new context with the basic auth credentials
  const contextWithAuth = await browser.newContext({
    httpCredentials: {
      username: k6,
      password: k6,
    },
  });

  const page = contextWithAuth.newPage();

Suggested Solution (optional)

No response

Already existing or connected issues / PRs (optional)

No response

@unlikelyzero unlikelyzero added the feature A new feature label Dec 7, 2023
@ankur22
Copy link
Collaborator

ankur22 commented Dec 7, 2023

Hi @unlikelyzero, it looks like we have a test for basic auth, unless i've missed something?

@unlikelyzero
Copy link
Author

@ankur22 😅

@inancgumus
Copy link
Member

Duplicate.

@inancgumus inancgumus closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
@inancgumus inancgumus added the duplicate This issue or pull request already exists label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature A new feature
Projects
None yet
Development

No branches or pull requests

3 participants