Skip to content

New teacher homepage eyes test #65375

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

Open
wants to merge 8 commits into
base: staging
Choose a base branch
from

Conversation

Nokondi
Copy link
Contributor

@Nokondi Nokondi commented Apr 18, 2025

This update adds a simple eyes test for the new teacher homepage. Additional UI and eyes tests will be added in a future update.

Warning!!

The AP CSP Create Performance Task is in progress. The most critical dates are from April 3 - April 30, 2025. Please consider any risk introduced by this PR that could affect our students taking AP CSP. Code.org students taking AP CSP primarily use App Lab for their Create Task, however a small percent use Game Lab. Carefully consider whether your change has any risk of alterering, changing, or breaking anything in these two labs. Even small changes, such as a different button color, are considered significant during this time period. Reach out to the Student Learning team or Curriculum team for more details.

Links

Testing story

Deployment strategy

Follow-up work

Privacy

Security

Caching

PR Checklist:

  • Tests provide adequate coverage
  • Privacy and Security impacts have been assessed
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@Nokondi Nokondi marked this pull request as ready for review April 18, 2025 21:08
@Nokondi Nokondi requested a review from lfryemason April 18, 2025 21:08
@@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
import React from 'react';

import {queryParams} from '@cdo/apps/code-studio/utils';
import DCDO from '@cdo/apps/dcdo';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

FYI, the DCDO stuff is part of this PR which hasn't merged yet. Will rebase and merge once that one is approved and merged.

Scenario: Teacher can view sections on new teacher homepage
When I open my eyes to test "teacher homepage"
Given I am a teacher
Then I use a cookie to mock the DCDO key "teacher-homepage-v2" as "true"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should create at least one section with student and curriculum assigned so that we are testing the section cards as well. What do you think?

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.

2 participants