Commit Graph

14 Commits

Author SHA1 Message Date
Tom
369368a799
feat(client/api): add C# survey (#51682) 2023-11-07 20:34:12 +05:30
Oliver Eyton-Williams
c772b9884a
chore(deps): update Cypress to version 12 (#51622)
Co-authored-by: Naomi Carrigan <[email protected]>
2023-09-22 15:42:56 -05:00
Oliver Eyton-Williams
53a4a23622
chore(e2e): reduce retries in open mode (#51560) 2023-09-18 09:58:08 -07:00
Oliver Eyton-Williams
391fc2e34d
refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
8d12376931
chore(cypress): speed up seeding when testing (#50825) 2023-06-29 23:18:10 +07:00
Moshe
38aa2dbba2
test(e2e): fix flaky firefox tests (#50039) 2023-06-16 07:46:45 +02:00
Mrugesh Mohapatra
c581532086
fix: disable flaky codeally e2e tests (#50554) 2023-05-30 15:30:56 +05:30
Krzysztof G
6504847b26
fix(e2e): reduce test flakiness (#50072)
* fix: visit page before each test

* fix: ensure editor is visible when checking contents

* fix: click after clear
2023-04-25 10:11:23 +02:00
Mrugesh Mohapatra
162336365b
fix(e2e): update workflows and cypress configs (#49947)
* chore: bump cypress to v11

* fix: remove firefox downgrade

* fix: remove passing specs in the run-script
2023-04-05 08:33:22 -07:00
Oliver Eyton-Williams
d7848ae01a
feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

Co-authored-by: Shaun Hamilton <[email protected]>

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <[email protected]>
2023-03-02 18:17:44 +00:00
Sem Bauke
12fd5c4d32
feat: enable TypeScript for Cypress (#48701)
* feat: enable TypeScript for Cypress

* fix: run both js and ts in workflow
2022-12-10 17:12:42 +02:00
Tom
eb9f86a85b
feat: remove playwright webkit (#48142)
* feat: remove playwright webkit

* chore: remove line
2022-10-25 12:36:18 +05:30
Oliver Eyton-Williams
7b24e7e597
fix(test): stop filtering out third-party (#47982)
Co-authored-by: Mrugesh Mohapatra <[email protected]>
2022-10-12 01:23:32 +05:30
Niraj Nandish
0214eb2488
feat: cypress 10 (#47886)
Co-authored-by: Oliver Eyton-Williams <[email protected]>
2022-10-11 18:40:25 +05:30