Skip to content

Commit

Permalink
chore: downgrade to 13.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awsluja committed Dec 16, 2024
1 parent 6c956b2 commit 8d39648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/amplify-e2e-tests/src/__tests__/uibuilder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('amplify pull with uibuilder', () => {
spawnSync(
getNpmPath(),
// in some runs spawnSync/npx will still use an old ver of react-scripts moving it into npm install flow
['install', '-E', '@types/react', 'cypress@13.16.0', '@aws-amplify/ui-react', 'aws-amplify', 'react-scripts@5'],
['install', '-E', '@types/react', 'cypress@13.15.0', '@aws-amplify/ui-react', 'aws-amplify', 'react-scripts@5'],
{ cwd: reactDir },
);

Expand All @@ -114,7 +114,7 @@ describe('amplify pull with uibuilder', () => {
const npmStartProcess = spawn(getNpmPath(), ['start'], { cwd: reactDir, timeout: 300000 });
// Give react server time to start
await new Promise((resolve) => setTimeout(resolve, 60000));
const res = execa.sync(getNpxPath(), ['cypress@13.16.0', 'run'], { cwd: reactDir, encoding: 'utf8' });
const res = execa.sync(getNpxPath(), ['cypress@13.15.0', 'run'], { cwd: reactDir, encoding: 'utf8' });
// kill the react server process
spawnSync('kill', [`${npmStartProcess.pid}`], { encoding: 'utf8' });
await new Promise((resolve) => setTimeout(resolve, 1000));
Expand Down

0 comments on commit 8d39648

Please sign in to comment.