1. 13 7月, 2021 2 次提交
  2. 09 7月, 2021 1 次提交
  3. 07 7月, 2021 1 次提交
  4. 03 7月, 2021 2 次提交
  5. 02 7月, 2021 3 次提交
  6. 01 7月, 2021 1 次提交
    • J
      fix(isHashMatch): check that hash starts with $ · 7f12fab3
      Joe Previte 提交于
      Previously, we used argon2 to verify the hash with the password.
      
      If the hash didn't start with a $, then it would enter the catch block.
      
      Now we check the hash before trying to verify it and we also throw an Error if
      the verify fails.
      
      This makes the isHashMatch function more robust.
      7f12fab3
  7. 30 6月, 2021 8 次提交
    • A
      Fix occasional logout failure · 2238d739
      Asher 提交于
      It seems a dialog sometimes appears asking if you want to lose
      changes (even though we have no changes; it seems based on timers in
      some way). Playwright defaults to dismissing them (so quickly you might
      not even see them) so accepting instead fixes navigation to the logout
      page getting canceled.
      2238d739
    • A
      Remove login steps from logout test · 43c6ffcb
      Asher 提交于
      I figure login is already tested so we can skip this and just use the
      cookie.
      43c6ffcb
    • A
      Retain failed e2e videos only · 49c7cc6e
      Asher 提交于
      49c7cc6e
    • A
      Centralize credential handling · f2fa7701
      Asher 提交于
      My thinking is that this may reduce the cognitive overhead for
      developers writing new test suites.
      
      This also allows us to perform different setup steps (like ensuring the
      editor is visible when authenticated).
      f2fa7701
    • A
      Spawn a code-server instance for each test suite · da4de439
      Asher 提交于
      This uses the current dev build by default but can be overidden with
      CODE_SERVER_TEST_ENTRY (for example to test a release or some other
      version).
      
      Each instance has a separate state directory. This should make
      parallelization work.
      
      This also means you are no longer required to specify the password and
      address yourself (or the extension directory once we add a test
      extension). `yarn test:e2e` should just work as-is.
      
      Lastly, it means the tests are no longer subject to yarn watch randomly
      restarting.
      da4de439
    • A
      Move onLine to utilities · 49c44818
      Asher 提交于
      This way it can be used by the tests when spawning code-server on a
      random port to look for the address.
      49c44818
    • A
      Import utils as a group in tests · add55ecd
      Asher 提交于
      This should simplify testing new utils a bit.
      add55ecd
    • A
      Run each e2e test in a new workspace · ba0364a5
      Asher 提交于
      The workspaces also have settings to prevent the welcome page from
      appearing.
      ba0364a5
  8. 29 6月, 2021 2 次提交
  9. 24 6月, 2021 1 次提交
    • J
      refactor: add func getNlsConfiguration & tests · 02b94894
      Joe Previte 提交于
      This PR refactors part of vscode.ts and adds a function to get the NLS
      Configuration.
      
      This makes the code more readable and easier to test.
      
      And it adds multiple tests for this part of the codebase.
      02b94894
  10. 10 6月, 2021 1 次提交
  11. 09 6月, 2021 16 次提交
  12. 31 5月, 2021 1 次提交
  13. 25 5月, 2021 1 次提交