-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
debug cypress + npm + windows + node 12 issue #166
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
It seems that there may be an issue with cypress on node 12.11.
This should, in theory, fail on windows+npm+node12.
did images update or something? if we pin to 12.11, it seems we still get 12.10
which is messing with windows
sighs...
just type it in directly for the time being
should be the lastest, 12.11.1
jbolda
added a commit
that referenced
this pull request
Mar 10, 2020
* amount computed in transaction forms (#103) * static value on transaction form * add recursive operations to transaction form * abstract out value/computedAmount completely, add to debt payback form as well * map amountComputed into new form fields (needed to set radio fields) * take recursive amountComputed in form set * computedAmount or amountComputed... not the same thing * form array for references, and map back and forth * static value on transaction form * add recursive operations to transaction form * abstract out value/computedAmount completely, add to debt payback form as well * map amountComputed into new form fields (needed to set radio fields) * take recursive amountComputed in form set * computedAmount or amountComputed... not the same thing * form array for references, and map back and forth * static value on transaction form * add recursive operations to transaction form * abstract out value/computedAmount completely, add to debt payback form as well * map amountComputed into new form fields (needed to set radio fields) * take recursive amountComputed in form set * computedAmount or amountComputed... not the same thing * form array for references, and map back and forth * take recursive amountComputed in form set * computedAmount or amountComputed... not the same thing * form array for references, and map back and forth * fix rebase chaos * push 'starting' as a default for payback references * switch account to <Field as> * calling state shows where real values are set vs relationships * create TransactionFormPrimitive to make difference between each more obvious * switch to for overall value * add whereFrom to dynamic part of form so fields display * first failing cypress test * conditionally set references on AccountTransaction submit * handle form reset * allow default references to select to update form state values * computedAmount validation on transaction * add validation to prevent cypress error * switch to formik ErrorMessage as it handles nested errors * don't need to pass errors/touched anymore * stop passing errors/touched * add name to label to help with selecting nested references * add test triggering references validation * add references selection, still doesn't seem to change though? * fix logic for computedAmount conditionally include in set * force select otherwise it doesn't work * switch cypress tests to run in chrome-headless on CI (#113) * Update dependency d3 to v5.10.0 (#114) * Update dependency js-file-download to v0.4.8 (#115) * change renovate target branch to `next` (#117) (#118) * Update dependency d3 to v5.11.0 (#116) * Update dependency formik to v2.0.1-rc.13 (#119) * switch out bulma for theme-ui and rebass (#120) * switch packages in/out * replace nav * add css-in-js branch to renovate as may be long running branch * update package.lock * componetize homepage (#121) * componentize cash flow page (#122) * switch out cash flow components * add form components package * switch Input on /flow to new component * set up form group for new components * add reach/tabs and kill ^ * update package.lock for new deps * switch to react/abs for TabView * box in chart * add key to TabView * pad form, tweak labels * reflect form label tweak * pad TabView slightly * update payback form with new components * update transaction form with new components * update account form with new components * update account computed recursive form * unused imports * switch filter button to component * flex box transaction table * add theme with breakpoints * and include theme * add breakpoints to stats * fix up flextable based on breakpoints * flex table accounts * update all buttons * unused import * abstract out FlexTable more * switch TabView back to class for easier testing for now * Update dependency ynab to v1.16.0 (#124) * componentize examples pages (#126) * componentize account graph page (#127) * componentize importing page (#128) * componentize tax page (#129) * componentize tax page for some reason the map() function is returning a query and rather than the data, even with using valueOf() * map() array was nested, unnest to a single array of objects * first theme tweaks and dark mode (#131) * refine theme, add color modes * split out header/footer from root component * update tests (#132) * add testing-library to help with selection in cypress * forms need ids to test? * first test passing the reach-ui tabs are rather difficult to select within, every tab can be queried regardless of what is visible so we need to select within * add ids to tabs for easier selection * add ids to all form components for testing and accessibility * transaction form submission passes * transaction delete passes * transaction modification passes it seems we need to enableReinitialize now on the forms when we didn't before? it seems that something changed, but not sure what... * account form submission passes * better assert on transaction form submission * account delete passes * account modification passes * debt payback form submission passes we need to keep the id unique, and with the new tabs, all the forms are in the DOMso we made the debt payback form ids prefixed with 'debt-' * import command as a global * debt payback delete passes * debt payback modification passes * debt payback dynamic passes * final formatting * don't record npm cypress runs we seem to get random time out failures creating recorded runs for both yarn and npm at the same time * only group when recording * Parse date strings (#133) * parse date strings at the test level * parse strings in lower level functions * parse strings when updating the state * parse in TaxStrategy * parse in BarChart test * parse in low-level reoccurrence tests * missed a few parsed in transactionDayOfWeekReoccur * missed more parsing in tests * didn't need, graphRanges are already dates * transactions expect date string, fix test * fix interval to force end date after start it was silently failing before, now that we fix that, it seems to break a couple other tests, need to confirm * the interval check was leaky, try/catch for now * Update dependency date-fns to v2.1.0 (#135) * Update dependency d3 to v5.12.0 (#134) * Update dependency date-fns to v2.2.1 (#136) * renovate css-in-js branch needs to be listed on next (#139) I hope this is the issue? Because now they all have it. * implement a sticky footer (#142) * Update dependency theme-ui to v0.2.42 (#144) * Update dependency d3 to v5.12.0 (#141) * Update dependency @mdx-js/react to v1.4.5 (#140) * Update dependency ynab to v1.16.0 (#145) * Update emotion monorepo (#146) * Update dependency theme-ui to v0.2.43 (#148) * add style-guide page from theme-ui docs (#137) * add style-guide page from theme-ui docs * accidentally merged out the route * update deps to fix bug * Update dependency react-scripts to v3.1.2 (#149) * Update dependency react-scripts to v3.1.2 (#150) * Update dependency rebass to v4.0.6 (#153) * Update dependency @rebass/forms to v4.0.6 (#152) * Update dependency @mdx-js/react to v1.5.0 (#154) * Update dependency date-fns to v2.3.0 (#155) * GitHub Actions CI (#151) * GitHub Actions CI * add cypress, move runner to matrix * don't run node 8, set test as ci * try without mac * no tags in name, run all tests * tests hang if using & * version ref wrong? * simplify to see if it finishes * only run Windows * move echo to test run * echo first * set env for whole group? * move env to each * run test script? * split install step out * split out dev server startup trying to track down why it hangs * wait on server start * switch to with? * try wait-on, npm install * background the process? * separate on two lines? * try start and test utility * need to `run` build * doesn't seem to want to chain commands * this is tricky * try just on ubuntu seems windows script calls are wonky? * now it progresses... * switch to port for served * npm needs run commands * need to change whole base url * supply an id since cypress can't pull one * add record key * npm needs the -- in run hopefully yarn supports it for a while * use proxy for spa redirects * try pushstate-server instead * docs were wrong * run records in electron * try adding mac back in * try conditional on browser for mac * try browser in matrix * all matrix need to be array? * typo * can't list matrix option to be overwritten by include * try adding windows * split out tasks more so windows actually runs them * try double quotes because windows * Update react monorepo to v16.10.0 (#160) * Update react monorepo to v16.10.1 (#161) * limit updates within the hour to reduce random cypress errors (#162) * Update dependency date-fns to v2.4.1 (#157) * Update react monorepo to v16.10.1 (#159) * Update dependency @emotion/core to v10.0.20 (#163) * Update dependency react-scripts to v3.2.0 (#165) * Update react monorepo to v16.10.2 (#168) * debug cypress + npm + windows + node 12 issue (#166) * debug cypress + npm + windows + node 12 issue * pin to node 12.10 It seems that there may be an issue with cypress on node 12.11. * try adding quotes as we lose trailing zeros * pin to 12.11 This should, in theory, fail on windows+npm+node12. * set to 12.x (latest) did images update or something? if we pin to 12.11, it seems we still get 12.10 * does windows need the slash switched? * just dir for windows * must have slashes in $RUNNER_TOOL_CACHE which is messing with windows * windows env vars use % not $ * slash is backwards... sighs... * argh just echo for the moment * now dir * that is a poor env var for windows to use just type it in directly for the time being * forgot a folder level * got two windows in there? letting too much light in * make dir less noisy, pin 12.11 again * set to 12.x should be the lastest, 12.11.1 * pin to 12.11.0 * let's not fail fast as matrix is underlying code dep * pin to 12.10.x * Update react monorepo to v16.10.2 (#167) * add contributor covenant to next with some additional readme updates (#172) * Update dependency @emotion/core to v10.0.21 (#173) * Update dependency react-scripts to v3.2.0 (#164) * Update dependency @mdx-js/react to v1.5.1 (#174) * Update dependency ynab to v1.17.0 (#175) * Update dependency ynab to v1.17.0 (#176) * Update dependency @theme-ui/style-guide to v0.2.44 (#177) * Update dependency theme-ui to v0.2.44 (#178) * Update dependency microstates to v0.15.1 (#182) * Update dependency microstates to v0.15.1 (#181) * Update dependency @reach/tabs to v0.3.0 (#183) * enable prefers color scheme for dark (#184) * Update dependency date-fns to v2.5.0 (#185) * set general html styles for use (#187) * set pragma and fill out simple sx (#188) * add the pragma and import for each sx prop * remove margin around body * style nav * style links * manually set variants for buttons they are supposed to pull the primary as a default and let you call out a variant, but it appears broken * switch transaction buttons to sx * sx transaction submit button * sx account transaction button * sx all account buttons * fix transaction input * sx all the other buttons * forgot the custom panda * sx tabs * minor borders on flex table * let tab names overflow * Update dependency date-fns to v2.5.1 (#190) * improve dark theme color coordination (#192) * footer contributor notes and ilnks (#193) * footer contributor notes heart (#194) * footer contributor notes and ilnks * switch to unicode heart * swap to theme-ui/components (#195) * swap out Rebass for theme-ui components it is effectively the same component library but might as well stick with the direct relationship with theme-ui * swap component imports * refactor components for new props * switch to find for testing-library cypress plugin upgrade (#196) * Update dependency @testing-library/cypress to v5 (#147) * remove branch from renovate (#199) * Update dependency date-fns to v2.6.0 (#197) * Update react monorepo to v16.11.0 (#201) * Update react monorepo to v16.11.0 (#200) * redo npm lock (#204) * npm lock grrr (#205) * fix npm lock even harder wow was something really that borked... * sigh * remove gatsby yea, I seriously edited the lockfile directly * the default lockfile * just add webpack for the time being * css-in-js (#130) * switch out bulma for theme-ui and rebass (#120) * switch packages in/out * replace nav * add css-in-js branch to renovate as may be long running branch * update package.lock * componetize homepage (#121) * componentize cash flow page (#122) * switch out cash flow components * add form components package * switch Input on /flow to new component * set up form group for new components * add reach/tabs and kill ^ * update package.lock for new deps * switch to react/abs for TabView * box in chart * add key to TabView * pad form, tweak labels * reflect form label tweak * pad TabView slightly * update payback form with new components * update transaction form with new components * update account form with new components * update account computed recursive form * unused imports * switch filter button to component * flex box transaction table * add theme with breakpoints * and include theme * add breakpoints to stats * fix up flextable based on breakpoints * flex table accounts * update all buttons * unused import * abstract out FlexTable more * switch TabView back to class for easier testing for now * componentize examples pages (#126) * componentize account graph page (#127) * componentize importing page (#128) * componentize tax page (#129) * componentize tax page for some reason the map() function is returning a query and rather than the data, even with using valueOf() * map() array was nested, unnest to a single array of objects * first theme tweaks and dark mode (#131) * refine theme, add color modes * split out header/footer from root component * update tests (#132) * add testing-library to help with selection in cypress * forms need ids to test? * first test passing the reach-ui tabs are rather difficult to select within, every tab can be queried regardless of what is visible so we need to select within * add ids to tabs for easier selection * add ids to all form components for testing and accessibility * transaction form submission passes * transaction delete passes * transaction modification passes it seems we need to enableReinitialize now on the forms when we didn't before? it seems that something changed, but not sure what... * account form submission passes * better assert on transaction form submission * account delete passes * account modification passes * debt payback form submission passes we need to keep the id unique, and with the new tabs, all the forms are in the DOMso we made the debt payback form ids prefixed with 'debt-' * import command as a global * debt payback delete passes * debt payback modification passes * debt payback dynamic passes * final formatting * don't record npm cypress runs we seem to get random time out failures creating recorded runs for both yarn and npm at the same time * only group when recording * implement a sticky footer (#142) * Update dependency theme-ui to v0.2.42 (#144) * Update dependency d3 to v5.12.0 (#141) * Update dependency @mdx-js/react to v1.4.5 (#140) * Update dependency ynab to v1.16.0 (#145) * Update emotion monorepo (#146) * Update dependency theme-ui to v0.2.43 (#148) * add style-guide page from theme-ui docs (#137) * add style-guide page from theme-ui docs * accidentally merged out the route * update deps to fix bug * Update dependency react-scripts to v3.1.2 (#150) * Update dependency rebass to v4.0.6 (#153) * Update dependency @rebass/forms to v4.0.6 (#152) * Update dependency @mdx-js/react to v1.5.0 (#154) * Update react monorepo to v16.10.0 (#160) * Update react monorepo to v16.10.1 (#161) * Update dependency @emotion/core to v10.0.20 (#163) * Update dependency react-scripts to v3.2.0 (#165) * Update react monorepo to v16.10.2 (#168) * Update dependency @emotion/core to v10.0.21 (#173) * Update dependency @mdx-js/react to v1.5.1 (#174) * Update dependency ynab to v1.17.0 (#176) * Update dependency @theme-ui/style-guide to v0.2.44 (#177) * Update dependency theme-ui to v0.2.44 (#178) * Update dependency microstates to v0.15.1 (#182) * Update dependency @reach/tabs to v0.3.0 (#183) * enable prefers color scheme for dark (#184) * set general html styles for use (#187) * set pragma and fill out simple sx (#188) * add the pragma and import for each sx prop * remove margin around body * style nav * style links * manually set variants for buttons they are supposed to pull the primary as a default and let you call out a variant, but it appears broken * switch transaction buttons to sx * sx transaction submit button * sx account transaction button * sx all account buttons * fix transaction input * sx all the other buttons * forgot the custom panda * sx tabs * minor borders on flex table * let tab names overflow * improve dark theme color coordination (#192) * footer contributor notes and ilnks (#193) * footer contributor notes heart (#194) * footer contributor notes and ilnks * switch to unicode heart * swap to theme-ui/components (#195) * swap out Rebass for theme-ui components it is effectively the same component library but might as well stick with the direct relationship with theme-ui * swap component imports * refactor components for new props * switch to find for testing-library cypress plugin upgrade (#196) * Update dependency @testing-library/cypress to v5 (#147) * remove branch from renovate (#199) * Update react monorepo to v16.11.0 (#201) * redo npm lock (#204) * npm lock grrr (#205) * fix npm lock even harder wow was something really that borked... * sigh * remove gatsby yea, I seriously edited the lockfile directly * the default lockfile * just add webpack for the time being * Revert "css-in-js (#130)" (#207) This reverts commit b6eff71. * Update dependency @emotion/core to v10.0.22 (#211) * Update dependency @reach/tabs to v0.4.0 (#212) * remove css-in-js as renovate target (#216) * switch GH Actions to powershell (#222) * fix simple form issues (#221) * hide fields and stop headings from shouting * errors should be red * Big doesn't cast in forms anymore * formik render prop deprecated * add csv import (#223) * add papaparse for csv * add papaparse for csv * move out FI stats to separate page (#224) * really remove rebass (#225) * really remove rebass * switch to theme-ui components from rebass/forms * Update dependency formik to v2.0.1 (#220) * Export date in JSON download even if the graphs starts on the current date (#228) * Update dependency formik to v2.0.2 (#227) * Update dependency formik to v2.0.3 (#229) * remove webpack (#233) * add "dependencies" label on renovate PRs (#235) * manually upgrade theme-ui (#234) * Bump mixin-deep from 1.3.1 to 1.3.2 (#236) Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> * Update dependency @reach/tabs to v0.5.0 (#237) * Update dependency date-fns to v2.7.0 (#242) * Update dependency @reach/tabs to v0.5.4 (#240) * Update dependency prettier to v1.19.0 (#243) * Update dependency formik to v2.0.4 (#245) * Update react monorepo to v16.12.0 (#246) * Update dependency theme-ui to v0.2.49 (#249) * Update dependency @theme-ui/components to v0.2.49 (#247) * Update dependency @theme-ui/style-guide to v0.2.49 (#248) * Update dependency @reach/tabs to v0.6.1 (#251) * Update dependency prettier to v1.19.1 (#244) * Update dependency date-fns to v2.8.0 (#253) * Update dependency formik to v2.0.5 (#254) * Update dependency d3 to v5.14.2 (#252) * Update dependency @reach/tabs to v0.6.2 (#257) * Update dependency formik to v2.0.6 (#255) * Update dependency date-fns to v2.8.1 (#256) * Update dependency @theme-ui/components to v0.2.50 (#258) * Update dependency react-scripts to v3.3.0 (#259) * Update dependency formik to v2.0.7 (#260) * Update dependency @reach/tabs to v0.6.4 (#261) * Update dependency js-file-download to v0.4.9 (#262) * Update dependency formik to v2.0.8 (#263) * Update dependency @mdx-js/react to v1.5.2 (#264) * Update dependency theme-ui to v0.2.52 (#266) * Update dependency yup to v0.28.0 (#267) * Update dependency @theme-ui/style-guide to v0.2.52 (#265) * Update dependency @theme-ui/style-guide to v0.2.53 (#269) * Update dependency @mdx-js/react to v1.5.3 (#270) * Update emotion monorepo to v10.0.27 (#272) * Bump handlebars from 4.1.2 to 4.5.3 (#273) Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.1.2...v4.5.3) Signed-off-by: dependabot[bot] <[email protected]> * Update dependency d3 to v5.15.0 (#274) * Update dependency formik to v2.0.10 (#275) * Update dependency formik to v2.1.0 (#276) * Update dependency formik to v2.1.1 (#277) Co-authored-by: Renovate Bot <[email protected]> * Update dependency date-fns to v2.9.0 (#278) Co-authored-by: WhiteSource Renovate <[email protected]> * Update dependency @mdx-js/react to v1.5.4 (#280) Co-authored-by: WhiteSource Renovate <[email protected]> * Update dependency @mdx-js/react to v1.5.5 (#281) Co-authored-by: WhiteSource Renovate <[email protected]> * Update dependency formik to v2.1.2 (#279) Co-authored-by: WhiteSource Renovate <[email protected]> * finishing touches before merge (#297) * only support using yarn * update deps without breaking issues * components within main theme-ui now * switch self referencing object validation to func * update e2e tests and workflow * with keyword duplicates * start server before cypress * force click for selects in cypress * and tabs * remove travis * remove jsx * add react back in * add netlify logo for the OSS plan * remove env on test script * clear out old cypress and force CI=true on test Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Steve Johnson <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Turning on
DEBUG
mode to find out more info about cypress failures.