Chore: Add tests for agents screens (#25637)
<!-- This is a pull request template, you do not need to uncomment or remove the comments, they won't show up in the PR text. --> <!-- Your Pull Request name should start with one of the following tags [NEW] For new features [IMPROVE] For an improvement (performance or little improvements) in existing features [FIX] For bug fixes that affect the end-user [BREAK] For pull requests including breaking changes Chore: For small tasks Doc: For documentation --> <!-- Checklist!!! If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code. - I have read the Contributing Guide - https://github.com/RocketChat/Rocket.Chat/blob/develop/.github/CONTRIBUTING.md#contributing-to-rocketchat doc - I have signed the CLA - https://cla-assistant.io/RocketChat/Rocket.Chat - Lint and unit tests pass locally with my changes - I have added tests that prove my fix is effective or that my feature works (if applicable) - I have added necessary documentation (if applicable) - Any dependent changes have been merged and published in downstream modules --> ## Proposed changes (including videos or screenshots) Add some tests for omnichannel agents screen and add some data-qa in components f <!-- CHANGELOG --> <!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue below. This description will appear in the release notes if we accept the contribution. --> <!-- END CHANGELOG --> ## Issue(s) <!-- Link the issues being closed by or related to this PR. For example, you can use #594 if this PR closes issue number 594 --> ## Steps to test or reproduce <!-- Mention how you would reproduce the bug if not mentioned on the issue page already. Also mention which screens are going to have the changes if applicable --> ## Further comments <!-- If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc... -->
Showing
- apps/meteor/client/components/VerticalBar/VerticalBarClose.tsx 1 addition, 1 deletion...meteor/client/components/VerticalBar/VerticalBarClose.tsx
- apps/meteor/client/views/omnichannel/agents/AgentEdit.tsx 26 additions, 7 deletionsapps/meteor/client/views/omnichannel/agents/AgentEdit.tsx
- apps/meteor/client/views/omnichannel/agents/AgentInfo.tsx 3 additions, 3 deletionsapps/meteor/client/views/omnichannel/agents/AgentInfo.tsx
- apps/meteor/client/views/omnichannel/agents/AgentInfoAction.tsx 1 addition, 1 deletion...eteor/client/views/omnichannel/agents/AgentInfoAction.tsx
- apps/meteor/client/views/omnichannel/agents/AgentsPage.tsx 1 addition, 1 deletionapps/meteor/client/views/omnichannel/agents/AgentsPage.tsx
- apps/meteor/playwright.config.ts 2 additions, 0 deletionsapps/meteor/playwright.config.ts
- apps/meteor/tests/e2e/13-permissions.spec.ts 6 additions, 5 deletionsapps/meteor/tests/e2e/13-permissions.spec.ts
- apps/meteor/tests/e2e/omnichannel-agents.spec.ts 107 additions, 0 deletionsapps/meteor/tests/e2e/omnichannel-agents.spec.ts
- apps/meteor/tests/e2e/utils/mocks/userAndPasswordMock.ts 10 additions, 6 deletionsapps/meteor/tests/e2e/utils/mocks/userAndPasswordMock.ts
- apps/meteor/tests/e2e/utils/pageobjects/Agents.ts 110 additions, 0 deletionsapps/meteor/tests/e2e/utils/pageobjects/Agents.ts
- apps/meteor/tests/e2e/utils/pageobjects/BasePage.ts 17 additions, 1 deletionapps/meteor/tests/e2e/utils/pageobjects/BasePage.ts
- apps/meteor/tests/e2e/utils/pageobjects/Global.ts 0 additions, 4 deletionsapps/meteor/tests/e2e/utils/pageobjects/Global.ts
- apps/meteor/tests/e2e/utils/pageobjects/SideNav.ts 4 additions, 0 deletionsapps/meteor/tests/e2e/utils/pageobjects/SideNav.ts
Loading
Please register or sign in to comment