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

INT-3303: Update Vue integration tests to use BDD style. #434

Merged
merged 19 commits into from
Oct 21, 2024

Conversation

kemister85
Copy link
Contributor

@kemister85 kemister85 commented Sep 9, 2024

Ticket: INT-3303

Changes:

  • fixed existing console error in Storybook for Editor.stories as it was set to an array, but expected string.

  • renamed cRender to pRender and updated to use Promise.

  • removed Chain.op from all tests.

  • moved cleanupTinymce to alien/TestHelper.ts and renamed to cleanupGlobalTinymce to be clearer.

  • created VAILID_API_KEY variable to use string interpolation for replacing api-key="a-fake-api-key".

  • converted all tests to use describe, it conventions.

  • updated InitTest.ts to iterate over Arr.each to isolate each test run for editor major versions.

  • Test yarn build

  • Test yarn storybook

  • Test yarn test-manual

@kemister85 kemister85 changed the title Update Vue integration tests to use BDD style. INT-3303: Update Vue integration tests to use BDD style. Sep 12, 2024
@kemister85 kemister85 marked this pull request as ready for review September 13, 2024 07:13
@kemister85 kemister85 requested a review from a team as a code owner September 13, 2024 07:13
@kemister85 kemister85 requested review from spocke, TheSpyder, ltrouton, a team, jscasca and tiny-ben-tran and removed request for a team September 13, 2024 07:13
@kemister85
Copy link
Contributor Author

Special thanks to @tiny-ben-tran for his time/guidance and assistance in helping me with this PR.

src/stories/Editor.stories.tsx Outdated Show resolved Hide resolved
src/test/ts/atomic/UtilsTest.ts Outdated Show resolved Hide resolved
src/test/ts/browser/InitTest.ts Outdated Show resolved Hide resolved
src/test/ts/browser/InitTest.ts Outdated Show resolved Hide resolved
src/test/ts/browser/InitTest.ts Outdated Show resolved Hide resolved
src/test/ts/browser/LoadTinyTest.ts Outdated Show resolved Hide resolved
kemister85 and others added 3 commits September 26, 2024 09:05
Removed Waiter from tests.
Wrapped various func into beforeEach() to improve readability.
src/test/ts/alien/Loader.ts Outdated Show resolved Hide resolved
src/test/ts/atomic/UtilsTest.ts Outdated Show resolved Hide resolved
@kemister85 kemister85 merged commit ccc0099 into main Oct 21, 2024
5 checks passed
@kemister85 kemister85 deleted the feature/INT-3303 branch October 21, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants