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

88 l d testing #94

Merged
merged 5 commits into from
Jan 11, 2024
Merged

88 l d testing #94

merged 5 commits into from
Jan 11, 2024

Conversation

loganpaulmatheny
Copy link
Contributor

Summary: Create tests for light and dark mode

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Testing
  • Comment:

Checklist:

  • Code needs to be tested
  • All tests are passing
  • Whats next: Make video for final evaluation

Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
analog-fe ✅ Ready (Inspect) Visit Preview Jan 11, 2024 3:46pm

@loganpaulmatheny loganpaulmatheny linked an issue Jan 11, 2024 that may be closed by this pull request
it("The application showcases the correct color when light / dark mode is toggled, and the ui also follows such as work areas and text", () => {
cy.visit("http://localhost:3000/")
.get(".app-container")
.should("have.css", "background-color", "rgb(29, 35, 42)")
Copy link
Contributor

Choose a reason for hiding this comment

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

Did not know about have.css, neat!

@@ -80,7 +80,7 @@ function FileUpload() {
</label>
<div
className={`p-3 sm:p-3 border border-gray-200 rounded-lg shadow-sm ${
appColor === "dark" ? "bg-dark" : "bg-white"
appColor === "dark" ? "BG" : "bg-white"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is BG set to something?

@joh-ann joh-ann merged commit 03675c7 into main Jan 11, 2024
3 checks passed
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.

L / D Testing
2 participants