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

test(Hero): add e2e test for Hero component #434

Closed
wants to merge 9 commits into from

Conversation

NsdHSO
Copy link
Contributor

@NsdHSO NsdHSO commented Jan 4, 2023

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation Update
  • 🎨 Style
  • πŸ§‘β€πŸ’» Code Refactor
  • πŸ”₯ Performance Improvements
  • βœ… Test
  • πŸ€– Build
  • πŸ” CI
  • πŸ“¦ Chore (Release)
  • ⏩ Revert

Description

Related Tickets & Documents

Fixes #414

Mobile & Desktop Screenshots/Recordings

Added tests?

  • πŸ‘ yes
  • πŸ™… no, because they aren't needed
  • πŸ™‹ no, because I need help

Added to documentation?

  • πŸ“œ README.md
  • πŸ““ docs.opensauced.pizza
  • πŸ• dev.to/opensauced
  • πŸ“• storybook
  • πŸ™… no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Jan 4, 2023

βœ… Deploy Preview for hot-sauced-ui ready!

Name Link
πŸ”¨ Latest commit 770b374
πŸ” Latest deploy log https://app.netlify.com/sites/hot-sauced-ui/deploys/63f49c5cdf86ac00070701a0
😎 Deploy Preview https://deploy-preview-434--hot-sauced-ui.netlify.app/
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@NsdHSO
Copy link
Contributor Author

NsdHSO commented Jan 4, 2023

I don't know why CI is failing, because on localhost work good
image

Copy link
Contributor

@0-vortex 0-vortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! πŸ‘

Couple of minor typos to fix and this can get merged πŸ•

src/e2e-tests/hero.spec.ts Outdated Show resolved Hide resolved
src/e2e-tests/hero.spec.ts Outdated Show resolved Hide resolved
@NsdHSO NsdHSO requested a review from 0-vortex January 6, 2023 07:42
Copy link
Contributor

@0-vortex 0-vortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NsdHSO you really need to adjust the URL to be a moving target. This PR is not going to get merged only checking absolute URLs. Resolving the conversation without making the change is not the way to go.

If you do not understand something please ask questions.

@NsdHSO
Copy link
Contributor Author

NsdHSO commented Jan 7, 2023

@0-vortex I think the scope of this issue, is only to check the accessibility, but no worries I can parse all your request. Please can you be more clear about what means absolute URLs? These? { "/popular": "popular", "/upvoted": "upvoted", "/discussed": "discussed", "/recent": "recent", "/myVotes": "myVotes", }

@NsdHSO
Copy link
Contributor Author

NsdHSO commented Jan 21, 2023

Hi please @0-vortex can you provide me more info about your comment?

Co-authored-by: TED Vortex (Teodor-Eugen DuΘ›ulescu) <[email protected]>

await page2.getByText("7d")
.click();
await page.locator("div:has-text(\"Find Open-Source Repositoriesto contribute today\")")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a typo but code is good now

@NsdHSO NsdHSO closed this Mar 16, 2023
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.

e2e testing: searching Repos
2 participants