diff --git a/.circleci/config.yml b/.circleci/config.yml index 204ae87f0e..0f8e95f352 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,9 +61,10 @@ executors: resource_class: medium+ docker: # Playwright docker image version MUST match Playwright version in project - - image: mcr.microsoft.com/playwright:v1.31.0-focal + - image: mcr.microsoft.com/playwright:v1.38.0-jammy working_directory: *playwright_path environment: + TZ: "America/New_York" NODE_ENV: development # Needed if playwright is in devDependencies commands: @@ -700,7 +701,7 @@ jobs: command: npx playwright install --with-deps chromium # Only need Chrome browser - run: - name: Running Playwright tests + name: Running Playwright tests on << parameters.env >> working_directory: *playwright_path command: | npx playwright test --list | grep -o 'tests/.*.spec.ts' | sort | uniq > e2e_tests.txt @@ -843,15 +844,6 @@ workflows: jobs: - deploy-stored-build-job: study_key: << pipeline.parameters.study_key >> - - playwright-build: - env: << pipeline.parameters.deploy_env >> - - playwright-test: - env: << pipeline.parameters.deploy_env >> - parallelism_num: 2 - test_suite: UNKNOWN - requires: - - playwright-build - - deploy-stored-build-job api-run-tests-workflow: # Run ui tests for study specified in api call by run_ci.sh and tests for sdk and toolkit diff --git a/build-utils/findmodifiedprojects.sh b/build-utils/findmodifiedprojects.sh index ad5bc68622..ab106f62c9 100755 --- a/build-utils/findmodifiedprojects.sh +++ b/build-utils/findmodifiedprojects.sh @@ -4,7 +4,7 @@ # If a file from a common area, like the root diretory was modified, we call that _SHARED_ set +x #ignore these file name patterns when figuring out what modules changed -declare -a exclude_patterns=( '^.*\.md' '^.*.pdf', '^.*\.spec\.ts' ) +declare -a exclude_patterns=( '^.*\.md' '^.*.pdf', '^.*\.spec\.ts', 'playwright' ) EXCLUDE_CMD='grep -v -E' diff --git a/ddp-workspace/projects/ddp-atcp/src/app/components/app/app.component.ts b/ddp-workspace/projects/ddp-atcp/src/app/components/app/app.component.ts index 8803fb195c..db4cf5bec7 100644 --- a/ddp-workspace/projects/ddp-atcp/src/app/components/app/app.component.ts +++ b/ddp-workspace/projects/ddp-atcp/src/app/components/app/app.component.ts @@ -111,7 +111,7 @@ export class AppComponent implements OnInit, OnDestroy { }); }); const modalClose = this.communicationService.closePopupMessage$.subscribe(() => { - this.dialog.getDialogById('ServerMessage').close(); + this.dialog.getDialogById('ServerMessage')?.close(); }); this.anchor.addNew(modalOpen).addNew(modalClose); } diff --git a/ddp-workspace/projects/ddp-atcp/src/app/components/participant-list/participant-list.component.ts b/ddp-workspace/projects/ddp-atcp/src/app/components/participant-list/participant-list.component.ts index ea478dbf7c..1c3b5b7186 100644 --- a/ddp-workspace/projects/ddp-atcp/src/app/components/participant-list/participant-list.component.ts +++ b/ddp-workspace/projects/ddp-atcp/src/app/components/participant-list/participant-list.component.ts @@ -1,21 +1,21 @@ import { Component, OnInit, Inject, OnDestroy } from '@angular/core'; import { Router } from '@angular/router'; -import { forkJoin, Observable, of } from 'rxjs'; -import { map, take, switchMap, tap, skipWhile, mergeMap, filter } from 'rxjs/operators'; +import {forkJoin, mergeMap, Observable, of} from 'rxjs'; +import { map, take, switchMap, tap } from 'rxjs/operators'; import { - SessionMementoService, - ConfigurationService, - GovernedParticipantsServiceAgent, - UserProfile, - ActivityInstance, - UserActivityServiceAgent, - UserManagementServiceAgent, - WorkflowServiceAgent, - LanguageService, - CompositeDisposable, - UserStatusServiceAgent, - ParticipantProfileServiceAgent + SessionMementoService, + ConfigurationService, + GovernedParticipantsServiceAgent, + UserProfile, + ActivityInstance, + UserActivityServiceAgent, + UserManagementServiceAgent, + WorkflowServiceAgent, + LanguageService, + CompositeDisposable, + UserStatusServiceAgent, + UserProfileServiceAgent, UserProfileDecorator } from 'ddp-sdk'; import { ActivityService } from '../../services/activity.service'; @@ -23,6 +23,7 @@ import { RegistrationStatusService } from '../../services/registrationStatus.ser import * as RouterResources from '../../router-resources'; import { ActivityCodes } from '../../sdk/constants/activityCodes'; import { WorkflowModel } from '../../models/workflow.model'; +import {AddParticipantPayload} from '../../../../../ddp-sdk/src/lib/models/addParticipantPayload'; export interface Participant { guid: string; @@ -55,7 +56,7 @@ export class ParticipantListComponent implements OnInit, OnDestroy { private readonly userStatusService: UserStatusServiceAgent, private readonly registrationStatusService: RegistrationStatusService, @Inject('ddp.config') private readonly config: ConfigurationService, - private participantProfileService: ParticipantProfileServiceAgent + private readonly userProfileServiceAgent: UserProfileServiceAgent, ) {} ngOnInit(): void { @@ -79,24 +80,32 @@ export class ParticipantListComponent implements OnInit, OnDestroy { onAddParticipantClick(): void { this.disableAddParticipantsButton = true; + const payload: AddParticipantPayload = { + timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone, + }; + + const addParticipantObs = this.userProfileServiceAgent.profile + .pipe( + mergeMap(({profile: {preferredLanguage}}: UserProfileDecorator) => + this.governedParticipantsAgent + .addParticipant(this.config.studyGuid, {...payload, languageCode: preferredLanguage}) + ), + take(1), + tap(participantGuid => this.session.setParticipant(participantGuid)), + switchMap(() => this.workflowAgent.fromParticipantList()) + ) + .subscribe({ + next: () => { + this.disableAddParticipantsButton = false; + this.activityService.setCurrentActivity(null); + this.router.navigateByUrl(RouterResources.Survey); + }, + error: () => { + this.disableAddParticipantsButton = false; + } + }); - this.governedParticipantsAgent - .addParticipant(this.config.studyGuid) - .pipe( - take(1), - tap(participantGuid => this.session.setParticipant(participantGuid)), - switchMap(() => this.workflowAgent.fromParticipantList()), - ) - .subscribe({ - next: () => { - this.disableAddParticipantsButton = false; - this.activityService.setCurrentActivity(null); - this.router.navigateByUrl(RouterResources.Survey); - }, - error: () => { - this.disableAddParticipantsButton = false; - } - }); + this.anchor.addNew(addParticipantObs); } private getParticipants(): void { diff --git a/ddp-workspace/projects/ddp-atcp/src/app/components/welcome/welcome.ts b/ddp-workspace/projects/ddp-atcp/src/app/components/welcome/welcome.ts index fcc96ab7a7..953a88e986 100644 --- a/ddp-workspace/projects/ddp-atcp/src/app/components/welcome/welcome.ts +++ b/ddp-workspace/projects/ddp-atcp/src/app/components/welcome/welcome.ts @@ -38,11 +38,13 @@ export class WelcomeComponent implements OnInit, OnDestroy { } public ngOnInit(): void { - const translate$ = this.ngxTranslate.getTranslation(['HomePage.Participate.Steps.Second.Ul']) - .subscribe((list: string[]) => { - this.list = list['HomePage.Participate.Steps.Second.Ul']; - }); - this.anchor.addNew(translate$); + if(this.ngxTranslate) { + const translate$ = this.ngxTranslate.getTranslation(['HomePage.Participate.Steps.Second.Ul']) + .subscribe((list: object) => { + this.list = list['HomePage.Participate.Steps.Second.Ul']; + }); + this.anchor.addNew(translate$); + } } public ngOnDestroy(): void { diff --git a/ddp-workspace/projects/ddp-brugada/src/app/components/progress-bar/progress-bar.component.scss b/ddp-workspace/projects/ddp-brugada/src/app/components/progress-bar/progress-bar.component.scss index acb2573d2b..18a8a9dff3 100644 --- a/ddp-workspace/projects/ddp-brugada/src/app/components/progress-bar/progress-bar.component.scss +++ b/ddp-workspace/projects/ddp-brugada/src/app/components/progress-bar/progress-bar.component.scss @@ -2,7 +2,7 @@ @import '../../../styles/breakpoints'; .wrapper { - height: 92px; + min-height: 92px; display: flex; margin: 5rem 0; position: relative; @@ -30,7 +30,7 @@ &_active { color: map-get($colors, 'progress_bar-active'); - & .circular { + & .circular { background: map-get($colors, 'progress_bar-active'); border: 3px solid map-get($colors, 'progress_bar-active-border'); & .number { @@ -43,7 +43,7 @@ } &_white { - & .circular { + & .circular { background: map-get($colors, 'white'); border: 3px solid map-get($colors, 'progress_bar-active-border'); & .number { diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.html b/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.html index 62baf88549..56cdfc6a2b 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.html +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.html @@ -22,7 +22,7 @@ Yes - No diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.ts b/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.ts index 8ab7f68982..d9f78d8985 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.ts +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/filter-column/filter-column.component.ts @@ -14,6 +14,11 @@ export class FilterColumnComponent implements OnInit { showOptions = false; selected: number; + // Hide a search parameter for the following RGP columns + rgpHideSearchParamColumns = [ + { displayName: 'Specialty Project: R21', name: 'r21', tableAlias: 'r' } + ]; + ngOnInit(): void { if (this.dataFilter.singleOption) { for (const [ key, value ] of Object.entries(this.dataFilter.selectedOptions)) { @@ -87,4 +92,16 @@ export class FilterColumnComponent implements OnInit { this.dataFilter.notEmpty = false; this.dataFilter.empty = false; } + + /** + * Show or hide (remove) a search parameter. + * @param dataFilter + * @returns Return true if dataFilter column is not found in hardcoded rgpHideSearchParamColumns array. + */ + showSearchParameter(dataFilter: Filter): boolean { + const found = this.rgpHideSearchParamColumns.findIndex(column => dataFilter?.participantColumn?.display === column.displayName + && dataFilter?.participantColumn?.name === column.name + && dataFilter?.participantColumn?.tableAlias === column.tableAlias); + return found === -1; + } } diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/onc-history-detail/onc-history-detail.component.ts b/ddp-workspace/projects/ddp-dsm-ui/src/app/onc-history-detail/onc-history-detail.component.ts index 4a8597fb32..6b0865dd07 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/onc-history-detail/onc-history-detail.component.ts +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/onc-history-detail/onc-history-detail.component.ts @@ -86,6 +86,10 @@ export class OncHistoryDetailComponent implements OnInit { } } if (v != null) { + let ddpParticipantId = this.participant.data.profile['guid']; + if (this.participant.data.profile['legacyAltPid']) { + ddpParticipantId = this.participant.data.profile['legacyAltPid']; + } const realm: string = sessionStorage.getItem(ComponentService.MENU_SELECTED_REALM); const patch1 = new PatchUtil( this.oncHistory[index].oncHistoryDetailId, this.role.userMail(), @@ -93,7 +97,7 @@ export class OncHistoryDetailComponent implements OnInit { name: parameterName, value: v }, null, 'participantId', this.participant.participant.participantId, - Statics.ONCDETAIL_ALIAS, null, realm, this.participant.data.profile['guid'] + Statics.ONCDETAIL_ALIAS, null, realm, ddpParticipantId ); const patch = patch1.getPatch(); this.patchFinished = false; diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/services/dsm.service.ts b/ddp-workspace/projects/ddp-dsm-ui/src/app/services/dsm.service.ts index ab309c5a50..b6b7c244ab 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/services/dsm.service.ts +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/services/dsm.service.ts @@ -1138,9 +1138,11 @@ export class DSMService { ); } - public applyDestructionPolicyToAll(source: string, json: string): Observable { + public applyDestructionPolicyToAll(realm: string, json: string): Observable { const url = this.baseUrl + DSMService.UI + 'institutions'; - return this.http.patch(url, json, this.buildHeader()).pipe( + const map: { name: string; value: any }[] = []; + map.push({name: DSMService.REALM, value: realm}); + return this.http.patch(url, json, this.buildQueryHeader(map)).pipe( catchError(this.handleError) ); } diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.html b/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.html index 9faecdbd00..c940627e1e 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.html +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.html @@ -36,7 +36,7 @@

{{additionalMessage}}

+ [disabled]="buttonDisabled">Search Kit
diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.ts b/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.ts index c2cb9df02b..e3ad48fdd1 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.ts +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/shipping-search/shipping-search.component.ts @@ -6,6 +6,7 @@ import { DSMService } from '../services/dsm.service'; import { KitRequest } from '../shipping/shipping.model'; import { RoleService } from '../services/role.service'; import { Observable, defer } from 'rxjs'; +import { ComponentService } from '../services/component.service'; @Component({ selector: 'app-shipping-search', @@ -13,6 +14,7 @@ import { Observable, defer } from 'rxjs'; styleUrls: ['./shipping-search.component.css'] }) export class ShippingSearchComponent implements OnInit { + realm: string; errorMessage: string; additionalMessage: string; searchValue: string | null = null; @@ -22,26 +24,40 @@ export class ShippingSearchComponent implements OnInit { kit: KitRequest[] = []; private currentPatchField: string | null; PECGS_RESEARCH = 'PECGS_RESEARCH'; + disabled = true; - constructor(private dsmService: DSMService, private auth: Auth, private role: RoleService) { + constructor(private dsmService: DSMService, private auth: Auth, private role: RoleService, private compService: ComponentService) { if (!auth.authenticated()) { auth.sessionLogout(); } } ngOnInit(): void { + if (sessionStorage.getItem(ComponentService.MENU_SELECTED_REALM) != null) { + this.realm = sessionStorage.getItem(ComponentService.MENU_SELECTED_REALM); + } else { + this.errorMessage = 'Please select a study'; + } this.checkRight(); } private checkRight(): void { + let allowedToSeeInformation = false; this.allowedRealms = []; let jsonData: any[]; this.dsmService.getRealmsAllowed(Statics.SHIPPING).subscribe({ next: data => { jsonData = data; jsonData.forEach((val) => { - this.allowedRealms.push(val); + if (sessionStorage.getItem(ComponentService.MENU_SELECTED_REALM) === val) { + allowedToSeeInformation = true; + this.allowedRealms.push(val); + this.disabled = false; + } }); + if (!allowedToSeeInformation) { + this.errorMessage = 'You are not allowed to see kit information of the selected study'; + } }, error: () => null }); @@ -166,4 +182,8 @@ saveCompleted(): void{ } return false; } + + get buttonDisabled(): boolean { + return this.disabled || this.searchField == null || this.searchValue == null || !this.searchValue.trim().length; + } } diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.html b/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.html index d3bde7b0c9..e3f8c220db 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.html +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.html @@ -16,6 +16,7 @@ class="header-text-inputs-editing-name" type="text" [value]="user.name" + (keydown)="onKeyDown($event)" (click)="$event.stopPropagation()"/>

Phone: @@ -26,6 +27,7 @@ class="header-text-inputs-editing-phone" type="text" [value]="user.phone" + (keydown)="onKeyDown($event)" (click)="$event.stopPropagation()"/>

diff --git a/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.ts b/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.ts index 4db83f1887..a6c5dcf891 100644 --- a/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.ts +++ b/ddp-workspace/projects/ddp-dsm-ui/src/app/usersAndPermissions/components/user/administrationUser.component.ts @@ -177,6 +177,9 @@ export class AdministrationUserComponent implements OnInit, OnDestroy { } /* Template methods */ + public onKeyDown(event: KeyboardEvent): void { + event.stopPropagation(); + } public get doNotAllowCollapse(): boolean { return this.hasPermissionsChanged || this.disableUserActionButtons; diff --git a/ddp-workspace/projects/ddp-lms/src/assets/i18n/en.json b/ddp-workspace/projects/ddp-lms/src/assets/i18n/en.json index efd165682f..4d3d103cca 100644 --- a/ddp-workspace/projects/ddp-lms/src/assets/i18n/en.json +++ b/ddp-workspace/projects/ddp-lms/src/assets/i18n/en.json @@ -842,7 +842,7 @@ "countMeInBtn": "Count Me In", "learMoreBtn": "Learn More", "paragraph2Headline": "What is the goal of the LMSproject?\n\n", - "paragraph2Text": "The goal of the LMSproject is to transform cancer care by enabling all patients who have ever been diagnosed with leiomyosarcoma to accelerate biomedical research through sharing their cancer samples, clinical information, and their experiences. In order to achieve these goals, datasets containing linked clinical, genomic, molecular, and patient-reported data (without including any personal information) will be regularly shared with the biomedical research community through scientific repositories such as cBioPortal for Cancer Genomics and the National Cancer Institute (NCI) Genomic Data Commons.

Count Me In's Leiomyosarcoma (LMS) Project is supported by a grant from the National Cancer Institute's Cancer Moonshot program and is part of the Participant Engagement and Cancer Genome Sequencing (PE-CGS) Network of research centers.", + "paragraph2Text": "The goal of the LMSproject is to transform cancer care by enabling all patients who have ever been diagnosed with leiomyosarcoma to accelerate biomedical research through sharing their cancer samples, clinical information, and their experiences. In order to achieve these goals, datasets containing linked clinical, genomic, molecular, and patient-reported data (without including any personal information) will be regularly shared with the biomedical research community through scientific repositories such as cBioPortal for Cancer Genomics and the National Cancer Institute (NCI) Genomic Data Commons.

Count Me In's Leiomyosarcoma (LMS) Project is supported by a grant from the National Cancer Institute's Cancer Moonshot program and is part of the Participant Engagement and Cancer Genome Sequencing (PE-CGS) Network of research centers.", "paragraph2Button": "Learn More About Us", "paragraph3Title": "Here’s how to participate:", "steps": [ diff --git a/ddp-workspace/projects/ddp-osteo/src/assets/i18n/en.json b/ddp-workspace/projects/ddp-osteo/src/assets/i18n/en.json index 1fd691f613..f40269f9cc 100644 --- a/ddp-workspace/projects/ddp-osteo/src/assets/i18n/en.json +++ b/ddp-workspace/projects/ddp-osteo/src/assets/i18n/en.json @@ -656,7 +656,7 @@ { "Question": "Who is conducting this research?", "Paragraphs": [ - "This project is being conducted by the Broad Institute of MIT and Harvard, Dana-Farber Cancer Institute, and Count Me In, a non-profit research initiative that conducts patient-partnered studies of cancer. Count Me In's Osteosarcoma (OS) Project and Leiomyosarcoma (LMS) Project are supported by a grant from the National Cancer Institute's Cancer Moonshot program and are part of the Participant Engagement and Cancer Genome Sequencing (PE-CGS) Network of research centers." + "This project is being conducted by the Broad Institute of MIT and Harvard, Dana-Farber Cancer Institute, and Count Me In, a non-profit research initiative that conducts patient-partnered studies of cancer. Count Me In's Osteosarcoma (OS) Project and Leiomyosarcoma (LMS) Project are supported by a grant from the National Cancer Institute's Cancer Moonshot program and are part of the Participant Engagement and Cancer Genome Sequencing (PE-CGS) Network of research centers." ] }, { diff --git a/ddp-workspace/projects/ddp-pancan/src/app/app-routing.module.ts b/ddp-workspace/projects/ddp-pancan/src/app/app-routing.module.ts index a940b0bcb9..264449203f 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/app-routing.module.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/app-routing.module.ts @@ -24,6 +24,7 @@ import { ScientificResearchComponent } from './components/scientific-research/sc import { ColorectalPageComponent } from './components/splash-pages/colorectal-page/colorectal-page.component'; import { LmsPageComponent } from './components/splash-pages/lms-page/lms-page.component'; import { ActivityPageComponent } from './components/activity-page/activity-page.component'; +import { PediHCCPageComponent } from './components/splash-pages/pediatric-hcc-page/pedihcc-page.component'; const routes: Routes = [ { @@ -65,6 +66,11 @@ const routes: Routes = [ component: ColorectalPageComponent, canActivate: [IrbGuard] }, + { + path: AppRoutes.PediHCCPage, + component: PediHCCPageComponent, + canActivate: [IrbGuard] + }, { path: AppRoutes.LMS, component: LmsPageComponent, diff --git a/ddp-workspace/projects/ddp-pancan/src/app/app.module.ts b/ddp-workspace/projects/ddp-pancan/src/app/app.module.ts index b4241060e0..6385667777 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/app.module.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/app.module.ts @@ -47,6 +47,7 @@ import { SplashPageFooterComponent } from './components/splash-pages/splash-page import { LmsPageComponent } from './components/splash-pages/lms-page/lms-page.component'; import { ActivityComponent } from './components/activity/activity.component'; import { ActivityPageComponent } from './components/activity-page/activity-page.component'; +import { PediHCCPageComponent } from './components/splash-pages/pediatric-hcc-page/pedihcc-page.component'; const base = document.querySelector('base')?.getAttribute('href') || ''; @@ -68,6 +69,8 @@ toolkitConfig.instagramId = 'countmein'; toolkitConfig.countMeInUrl = 'https://joincountmein.org'; toolkitConfig.colorectalPagePhone = '651-403-5315'; toolkitConfig.colorectalPageEmail = 'info@colorectalcancerproject.org'; +toolkitConfig.pediHCCPagePhone = '651-287-1608'; +toolkitConfig.pediHCCPageEmail = 'info@joincountmein.org'; toolkitConfig.lmsPagePhone = ''; // TODO: add real phone toolkitConfig.lmsPageEmail = 'info@lmsproject.org'; toolkitConfig.lmsStudyGuid = 'cmi-lms'; @@ -160,6 +163,7 @@ export function translateFactory(translate: TranslateService, LmsPageComponent, ActivityComponent, ActivityPageComponent, + PediHCCPageComponent, ], imports: [ BrowserModule, diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/app-routes.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/app-routes.ts index fc33f091cd..40a1033d1a 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/app-routes.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/app-routes.ts @@ -21,5 +21,6 @@ export const AppRoutes = { FAQ: 'faq', JoinList: 'join-list', ColorectalPage: 'colorectal', + PediHCCPage: 'pedihcc', LMS: 'lms' }; diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.html b/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.html index bbbf608aa6..0600ab2250 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.html +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.html @@ -1,10 +1,12 @@
- + [isColorectalTheme]="isColorectalPage" + [isPediHCCTheme]="isPediHCCPage" + > + [isPediHCCTheme]="isPediHCCPage" + [phone]="phone" + [email]="email">
diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.ts index c810aedd08..88ae02d7f3 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/app/app.component.ts @@ -19,17 +19,16 @@ export class AppComponent extends AppRedesignedBaseComponent { isSplashPage: boolean; isColorectalPage: boolean; isLmsPage: boolean; + isPediHCCPage: boolean; constructor( _communicationService: CommunicationService, _dialog: MatDialog, _renewNotifier: RenewSessionNotifier, _router: Router, - @Inject('toolkit.toolkitConfig') _config: ToolkitConfigurationService + @Inject('toolkit.toolkitConfig') private _config: ToolkitConfigurationService ) { super(_communicationService, _dialog, _renewNotifier, _router, _config); - this.phone = _config.phone; - this.email = _config.infoEmail; this.initRouterEvents(); } @@ -39,8 +38,12 @@ export class AppComponent extends AppRedesignedBaseComponent { return; } this.isColorectalPage = event.url.includes(AppRoutes.ColorectalPage); + this.isPediHCCPage = event.url.includes(AppRoutes.PediHCCPage); this.isLmsPage = event.url.includes(AppRoutes.LMS); this.isSplashPage = this.isColorectalPage || this.isLmsPage; + + this.phone = this.isPediHCCPage ? this._config.pediHCCPagePhone : this._config.phone; + this.email = this.isPediHCCPage ? this._config.pediHCCPageEmail : this._config.infoEmail; }); } } diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/auth/auth.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/auth/auth.component.ts index f299c60d5b..72dd1432c0 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/auth/auth.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/auth/auth.component.ts @@ -1,6 +1,7 @@ import { Component, Input } from '@angular/core'; import { SessionMementoService } from 'ddp-sdk'; import { AppRoutes } from '../app-routes'; +import { ThemePalette } from '@angular/material/core'; @Component({ selector: 'app-auth', @@ -13,7 +14,7 @@ import { AppRoutes } from '../app-routes'; [class.dashboard-button]="isAuthenticated" [routerLink]="isAuthenticated ? AppRoutes.Dashboard : AppRoutes.CountMeIn" queryParamsHandling="merge" - [color]="isColorectalTheme ? 'colorectal' : 'primary'"> + [color]="joinButtonColor"> perm_identity App.Navigation.Dashboard @@ -23,11 +24,28 @@ import { AppRoutes } from '../app-routes'; styleUrls: ['./auth.component.scss'] }) export class AuthComponent { - @Input() isColorectalTheme: boolean; + @Input() isColorectalTheme = false; + @Input() isPediHCCTheme = false; + @Input() isInFooter = false; + readonly AppRoutes = AppRoutes; + constructor(private session: SessionMementoService) { } public get isAuthenticated(): boolean { return this.session.isAuthenticatedSession(); } + + public get joinButtonColor(): ThemePalette { + let color = 'primary'; + + if (this.isColorectalTheme) + {color = 'colorectal';} + if(this.isPediHCCTheme) + {color = 'pedihcc';} + if(this.isPediHCCTheme && this.isInFooter) + {color = 'secondary';} + + return color as ThemePalette; + } } diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/faq-section/faq-section.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/faq-section/faq-section.component.ts index ce72e817b6..9ed99d89be 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/faq-section/faq-section.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/faq-section/faq-section.component.ts @@ -13,12 +13,13 @@ export class FaqSectionComponent { @Input() questions: string; @Input() questionsCount: number; /* don't pass the counter for displaying all questions */ @Input() isColorectal: boolean; + @Input() isPedihcc: boolean; @ViewChild(MatAccordion) accordion: MatAccordion; /* Please, do not remove. It is used outside of the component */ constructor(private dialog: MatDialog) {} public openJoinMailingList(): void { - const info = this.isColorectal ? ['Colorectal'] : null; + const info = this.isColorectal ? ['Colorectal'] : this.isPedihcc ? ['Pedihcc'] : null; this.dialog.open(JoinMailingListComponent, { ...JOIN_MAILING_LIST_DIALOG_SETTINGS, data: { info } diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.html b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.html index 21f3b7159c..bcbdbb14f9 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.html +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.html @@ -15,18 +15,24 @@ class="footer-btn button button_small"> {{'App.Footer.PrivacyPolicy' | translate}} + + {{'App.HomePage.StayInformedSection.JoinMailingListButton' | translate}} +
- +
- App.Footer.Copyright + Copyright © {{ copyrightYear }} Count Me In. {{'App.Footer.Copyright' | translate}}
App.Footer.Contacts - {{phone}} {{email}} + {{phone}}
diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.scss b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.scss index f82653c402..5434c5486c 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.scss +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.scss @@ -51,6 +51,7 @@ a.footer-btn { flex-shrink: 1; white-space: normal; + margin-right: 1.5rem; } .contacts__item { diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.spec.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.spec.ts index 9a96f863f8..ea41f5df95 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.spec.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.spec.ts @@ -8,6 +8,7 @@ import { of, Observable } from 'rxjs'; import { mockComponent, WindowRef } from 'ddp-sdk'; import { TranslateModule, TranslateLoader } from '@ngx-translate/core'; import { FooterComponent } from './footer.component'; +import { MatDialogModule } from '@angular/material/dialog'; class TranslateLoaderMock implements TranslateLoader { getTranslation(code: string = ''): Observable { @@ -33,7 +34,8 @@ describe('FooterComponent', () => { RouterTestingModule, TranslateModule.forRoot({ loader: { provide: TranslateLoader, useClass: TranslateLoaderMock }, }), MatIconModule, - NoopAnimationsModule + NoopAnimationsModule, + MatDialogModule ], providers: [ { provide: WindowRef, useValue: { nativeWindow: nativeWindowSpy }}, diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.ts index 1c7db2df30..5342d2e5a9 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/footer/footer.component.ts @@ -1,6 +1,9 @@ -import { Component, Input } from '@angular/core'; +import { Component, Inject, Input } from '@angular/core'; +import { MatDialog } from '@angular/material/dialog'; import { WindowRef } from 'ddp-sdk'; import { BaseFooterComponent } from './base-footer/base-footer.component'; +import { JoinMailingListComponent, ToolkitConfigurationService } from 'toolkit'; +import { JOIN_MAILING_LIST_DIALOG_SETTINGS } from '../../utils/join-mailing-list-dialog-confg'; @Component({ selector: 'app-footer', @@ -8,10 +11,30 @@ import { BaseFooterComponent } from './base-footer/base-footer.component'; styleUrls: ['./footer.component.scss'] }) export class FooterComponent extends BaseFooterComponent { + @Input() isPediHCCTheme: boolean; @Input() phone: string; @Input() email: string; - constructor(private _windowRef: WindowRef) { + constructor( + private _windowRef: WindowRef, + private dialog: MatDialog, + @Inject('toolkit.toolkitConfig') private toolkitConfiguration: ToolkitConfigurationService) { super(_windowRef); } + + public openJoinMailingList(): void { + const info = ['Pedihcc']; + this.dialog.open(JoinMailingListComponent, { + ...JOIN_MAILING_LIST_DIALOG_SETTINGS, + data: { info }, + }); + + } + + public get copyrightYear(): number { + if (this.isPediHCCTheme) { + return 2023; + } + return 2021; + } } diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/header/header.component.html b/ddp-workspace/projects/ddp-pancan/src/app/components/header/header.component.html index 37b96a089b..af418506d4 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/header/header.component.html +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/header/header.component.html @@ -9,7 +9,7 @@
- + -

+

diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.html b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.html index 93d82d18a2..12d718a74f 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.html +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.html @@ -9,7 +9,7 @@

{{title | translate}}

[routerLink]="'/' + AppRoutes.CountMeIn" queryParamsHandling="merge" class="btn join-cmi-btn button button_small" - [color]="isColorectalTheme ? 'colorectal' : 'primary'"> + [color]="isColorectalTheme ? 'colorectal' : isPediHCCTheme ? 'pedihcc' : 'primary'"> {{btnText | translate}}
diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.ts index 43d3dc081a..896fa829cf 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/join-cmi-section/join-cmi-section.component.ts @@ -9,6 +9,7 @@ import { AppRoutes } from '../../app-routes'; }) export class JoinCmiSectionComponent { @Input() isColorectalTheme: boolean; + @Input() isPediHCCTheme: boolean; @Input() title = 'App.HomePage.CountMeInSection.Title'; @Input() text = 'App.HomePage.CountMeInSection.Text'; @Input() btnText = 'App.HomePage.JoinCountMeInButton'; diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/participation-section/participation-section.component.html b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/participation-section/participation-section.component.html index ed10e2da8d..6da1a10195 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/participation-section/participation-section.component.html +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/participation-section/participation-section.component.html @@ -1,13 +1,15 @@

App.HomePage.ParticipateSection.Title

-
+
-
+
{{step.Title}}
@@ -20,7 +22,7 @@

App.HomePage.ParticipateSection.Ti

App.HomePage.StayInformedSection.Title

diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.scss b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.scss index aaaae12df2..e6351b5f9d 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.scss +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.scss @@ -8,7 +8,7 @@ .social-media { &__links { display: flex; - justify-content: space-between; + justify-content: space-around; align-items: center; width: 150px; margin: 0 auto 0.8rem; @@ -17,6 +17,7 @@ &__link { flex: 0 1 50px; text-align: center; + padding: 0.4rem; } } diff --git a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.ts b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.ts index d654f4ff6d..5996d1c0cb 100644 --- a/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.ts +++ b/ddp-workspace/projects/ddp-pancan/src/app/components/welcome/stay-informed-section/stay-informed-section.component.ts @@ -13,6 +13,7 @@ import { AnalyticsEventCategories, AnalyticsEventsService } from 'ddp-sdk'; }) export class StayInformedSectionComponent { @Input() isColorectal: boolean; + @Input() isPedihcc: boolean; readonly AppRoutes = AppRoutes; readonly twitterUrl: string; readonly facebookUrl: string; @@ -29,7 +30,7 @@ export class StayInformedSectionComponent { } public openJoinMailingList(): void { - const info = this.isColorectal ? ['Colorectal'] : null; + const info = this.isColorectal ? ['Colorectal'] : this.isPedihcc ? ['Pedihcc'] : null; this.dialog.open(JoinMailingListComponent, { ...JOIN_MAILING_LIST_DIALOG_SETTINGS, data: { info }, diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/i18n/en.json b/ddp-workspace/projects/ddp-pancan/src/assets/i18n/en.json index 8cbb3f114e..d4067eec24 100644 --- a/ddp-workspace/projects/ddp-pancan/src/assets/i18n/en.json +++ b/ddp-workspace/projects/ddp-pancan/src/assets/i18n/en.json @@ -17,6 +17,8 @@ "Twitter": "Twitter logo", "Facebook": "Facebook logo", "Instagram": "Instagram logo", + "LinkedIn": "LinkedIn logo", + "Threads": "Threads logo", "JoinCMI": "Join Count Me In logo" } }, @@ -24,7 +26,9 @@ "social": { "twitter": "https://twitter.com/count_me_in", "facebook": "https://www.facebook.com/joincountmein", - "instagram": "https://www.instagram.com/countmein" + "instagram": "https://www.instagram.com/countmein", + "linkedin": "https://www.linkedin.com/company/count-me-in-patient-partnered-research/", + "threads": "https://www.threads.net/@countmein" }, "HomePage": { "JoinCountMeInButton": "Join Count Me In", @@ -158,7 +162,8 @@ { "key": "MBC", "label": "Metastatic Breast Cancer Project" }, { "key": "MBCSpanish", "label": "Metastatic Breast Cancer Project in Spanish" }, { "key": "MPC", "label": "Metastatic Prostate Cancer Project" }, - { "key": "Osteo", "label": "Osteosarcoma Project" } + { "key": "Osteo", "label": "Osteosarcoma Project" }, + { "key": "PediHCC", "label": "Pediatric Hepatocellular Carcinoma (HCC) and HCC-Like Tumor Project" } ] }, { @@ -421,6 +426,99 @@ "Text": "The Colorectal Cancer Project is part of Count Me In, a research initiative that brings together patients and scientists as partners to speed up discoveries in cancer research." } }, + "PedihccPage": { + "IntroductionSection": { + "Title": "You can help drive discoveries for pediatric liver cancers.", + "Text": "If you or your child has ever been diagnosed with hepatocellular carcinoma (prior to age 21) or a HCC-like tumor (mixed hepatoblastoma/HCC, ages 6 or older), you can join a nationwide movement to contribute samples, medical records, and your experience for cancer research. Together, we have the power to move research forward for these rare and difficult-to-treat diseases." + }, + "LearnMoreSection": { + "Title": "What is this project about?", + "Paragraphs": [ + "The Pediatric Hepatocellular Carcinoma (HCC) & HCC-Like Tumors Project is part of Count Me In, a research initiative that enables cancer patients to directly transform cancer research and discovery. Any individual in the United States or Canada who has ever been diagnosed with hepatocellular carcinoma before the age of 21, hepatocellular neoplasm not otherwise specified (HCN NOS), or hepatoblastoma diagnosed at 6 or older can share information about their experience through completing surveys, sharing biological sample(s), and copies of their medical records with researchers in order to speed the pace of discovery.", + "The goal of Count Me In is to generate a large dataset of linked patient-reported, genomic, clinical, and molecular information that can be shared with the biomedical community. Every patient's story holds a piece of the puzzle that can help us better understand cancer. By discovering the genes and the variants that drive cancer and sharing this data, we hope insights can be gained to develop more effective therapies." + ] + }, + "ParticipateSection": { + "Title": "Here’s how to participate", + "Steps": [ + { + "Title": "STEP 1", + "Time": "10-15 minutes", + "Description": "Provide consent and tell us where you or your child has been treated", + "ImageAlt": "Computer screen displaying online consent form" + }, + { + "Title": "STEP 2", + "Time": "5 minutes", + "Description": "Answer questions about your cancer experience", + "ImageAlt": "Computer screen displaying online survey" + }, + { + "Title": "STEP 3", + "Time": "10 minutes", + "Description": "Provide samples (we’ll send a kit)", + "ImageAlt": "Sample collection kit" + }, + { + "Title": "STEP 4", + "Time": "Ongoing", + "Description": "Learn with us along the way", + "ImageAlt": "Speech bubbles sharing hearts and data visualizations" + } + ], + "LearnMoreAboutParticipationButton": "Learn more about participation" + }, + "FAQ": { + "Questions": [ + { + "Question": "What is the goal of the Pediatric Hepatocellular Carcinoma (HCC) & HCC-Like Tumors Project?", + "Paragraphs": [ + "The goal of this project is to generate a comprehensive dataset of de-identified clinical, genomic, molecular, and patient or parent/guardian reported data that will be shared with the research community in order to develop a better understanding of these diseases.", + "Because pediatric hepatocellular carcinoma and HCC-like (also known as mixed hepatoblastoma and HCC or hepatocellular carcinoma not otherwise specified, HCN NOS) tumors are so rare, very few patients have the ability to contribute their samples and clinical data to cancer research, largely because they do not have a way of doing so. We believe that everyone should have the opportunity to contribute to research.", + "We hope that the data generated through this project will enable researchers to better understand the natural history and biology of these rare, understudied, and difficult-to-treat diseases, leading to better treatment strategies in the future. We will provide regular updates via email to all participants about the status of the project, data releases, and any discoveries that come out of the research." + ] + }, + { + "Question": "Who is eligible to participate?", + "Paragraphs": [ + "Anyone who has ever been diagnosed with hepatocellular carcinoma before the age of 21, hepatocellular neoplasm not otherwise specified (HCN NOS), or hepatoblastoma diagnosed at 6 years of age or older may participate if they live in the USA or Canada. You or your child do not need to be in active treatment to join. We welcome people of all ages, races, ethnicities, genders, sexual orientations, abilities, religions, and socioeconomic backgrounds. At this time, we are not able to enroll patients who have passed away.", + "Hepatoblastoma tumors diagnosed at or over the age of 6 years are believed to behave more similarly to a “mixed” hepatocellular carcinoma and hepatoblastoma (or HCC-like) tumor with features of both diseases. By enrolling those who have been diagnosed with HCN NOS or hepatoblastoma >6 years of age, we believe we’ll be able to better understand the spectrum of these diseases and how to treat them.", + "If you are a parent or guardian of a child diagnosed with one of these diseases, you can provide consent for them to participate in the project. Depending on their age, we may also ask them to provide permission to participate through assent." + ] + }, + { + "Question": "Who is conducting this research?", + "Paragraphs": [ + "This project is part of Count Me In, a research initiative that enables cancer patients to directly transform cancer research and discovery. Any individual in the United States or Canada who has ever been diagnosed with these cancers can share information about their experience through completing surveys, sharing biological sample(s), and copies of their medical records with researchers to speed the pace of discovery.", + "The goal of Count Me In is to generate a large dataset of linked patient/parent-reported, genomic, clinical, and molecular information that can be shared with the biomedical community. Every patient’s story holds a piece of the puzzle that can help us better understand cancer. By discovering the genes and the variants that drive cancer and sharing this data, we hope insights can be gained to develop more effective therapies." + ] + }, + { + "Question": "Who has been involved in the development of this project?", + "Paragraphs": [ + "We have worked closely with parents and patient advocates within the pediatric hepatocellular carcinoma and hepatocellular-like tumor community in the development of this project. The community has provided guidance and input on many aspects of the project including name, outreach and messaging strategies, and the design of this website.", + "Dr. Allison O’Neill, Clinical Director of the Solid Tumor Center, Director of Medical Therapies of the Liver Tumor Center of Excellence, and Senior Physician at Dana-Farber Cancer Institute / Boston Children's Cancer and Blood Disorders Center is the scientific lead for this project, and has been involved in the development since inception, including in scientific goals, messaging, and strategy." + ] + }, + { + "Question": "What does Count Me In do with the data collected through this project?", + "Paragraphs": [ + "Samples and health information for participants will be available to study staff and researchers at Count Me In, the Broad Institute of MIT and Harvard, and Dana-Farber Cancer Institute. More details about how we protect participant information and samples can be found in the consent form.", + "After removing a participant’s name and other readily identifiable information, data is shared freely to accelerate discoveries, enabling researchers to identify patterns in data. Batches of data are released publicly and are available to all researchers—so that everyone may use the data to make discoveries and advance progress against cancer, including new medicines and diagnostics.", + "Data will be shared in established public scientific databases (for example, cBioPortal for Cancer Genomics, and data portals developed by the National Institute of Health/National Cancer Institute such as the Genomic Data Commons and database of Genotypes and Phenotypes (dbGaP)). Some of these databases are publicly viewable by anyone with internet access, and some are restricted to qualified researchers." + ] + } + ] + }, + "Partners": { + "Title": "Partners", + "Alts": {}, + "Text": "For information on how to become a partner, contact the team at info@joincountmein.org." + }, + "CountMeInSection": { + "Title": "Join the movement and say Count Me In" + } + }, "LmsPage": { "Title": "Enrolling Soon: The Leiomyosarcoma (LMS) Project", "IntroductionSection": { @@ -490,7 +588,7 @@ "Footer": { "BackToTopButton": "Back to top", "Contacts": "Contact Us", - "Copyright": "Copyright © 2021 Count Me In. All rights reserved.", + "Copyright": "All rights reserved.", "Email": "Email", "Phone": "Phone", "PrivacyPolicy": "Privacy Policy" diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/i18n/es.json b/ddp-workspace/projects/ddp-pancan/src/assets/i18n/es.json index 2b78a47c4e..5c6b7947be 100644 --- a/ddp-workspace/projects/ddp-pancan/src/assets/i18n/es.json +++ b/ddp-workspace/projects/ddp-pancan/src/assets/i18n/es.json @@ -17,6 +17,8 @@ "Twitter": "Twitter logo", "Facebook": "Facebook logo", "Instagram": "Instagram logo", + "LinkedIn": "LinkedIn logo", + "Threads": "Threads logo", "JoinCMI": "Join Count Me In logo" } }, @@ -24,7 +26,9 @@ "social": { "twitter": "https://twitter.com/CMI_Espanol", "facebook": "https://www.facebook.com/CMIespanol", - "instagram": "https://www.instagram.com/countmein" + "instagram": "https://www.instagram.com/countmein", + "linkedin": "https://www.linkedin.com/company/count-me-in-patient-partnered-research/", + "threads": "https://www.threads.net/@countmein" }, "HomePage": { "JoinCountMeInButton": "Únase a Count Me In", @@ -419,6 +423,99 @@ "Text": "El Proyecto de cáncer colorrectal forma parte de Count Me In, una iniciativa de investigación que une a pacientes y científicos para juntos acelerar los descubrimientos en la investigación del cáncer." } }, + "PedihccPage": { + "IntroductionSection": { + "Title": "Ayude a impulsar descubrimientos sobre los cánceres de hígado pediátricos.", + "Text": "Si a usted o a su hijo(a) le han diagnosticado alguna vez un carcinoma hepatocelular (CHC) antes de los 21 años o un tumor similar al CHC (hepatoblastoma o CHC mixto) después de cumplir los 6 años de edad, puede unirse a este movimiento nacional para aportar sus muestras, historias clínicas y experiencia a la investigación del cáncer. Juntos, tenemos el poder de promover la investigación de estas enfermedades raras y difíciles de tratar." + }, + "LearnMoreSection": { + "Title": "¿De qué se trata este proyecto?", + "Paragraphs": [ + "El Proyecto sobre carcinoma hepatocelular (CHC) pediátrico y tumores similares al CHC forma parte de Count Me In, una iniciativa de investigación que permite que los pacientes con cáncer transformen de forma directa la investigación y los descubrimientos en torno al cáncer. Toda persona en Estados Unidos o Canadá y que alguna vez haya recibido un diagnóstico de carcinoma hepatocelular antes de los 21 años, neoplasia hepatocelular no especificada (HCN NOS, por su sigla en inglés) o hepatoblastoma diagnosticado después de los 6 años de edad puede compartir información sobre su experiencia respondiendo encuestas y compartiendo muestras biológicas y copias de su historia clínica con los investigadores a los fines de agilizar los descubrimientos.", + "El objetivo de Count Me In es generar un gran conjunto de datos de información genómica, clínica y molecular aportada por los pacientes que pueda compartirse con la comunidad biomédica. La historia de cada paciente es una pieza del rompecabezas que puede ayudarnos a comprender mejor el cáncer. Al descubrir los genes y las variaciones que dan lugar al cáncer y compartir estos datos, esperamos poder obtener información valiosa para desarrollar tratamientos más eficaces." + ] + }, + "ParticipateSection": { + "Title": "Cómo participar", + "Steps": [ + { + "Title": "PASO 1", + "Time": "De 10 a 15 minutos", + "Description": "Dé su consentimiento e indique dónde usted o su hijo(a) ha recibido tratamiento", + "ImageAlt": "Pantalla de computadora que muestra un formulario de consentimiento en línea" + }, + { + "Title": "PASO 2", + "Time": "5 minutos", + "Description": "Responda preguntas sobre su experiencia con el cáncer", + "ImageAlt": "Pantalla de computadora que muestra una encuesta en línea" + }, + { + "Title": "PASO 3", + "Time": "10 minutos", + "Description": "Proporcione muestras (le enviaremos un kit)", + "ImageAlt": "Kit de obtención de muestras" + }, + { + "Title": "PASO 4", + "Time": "Continuo", + "Description": "Aprenda a la par de nosotros", + "ImageAlt": "Burbujas de diálogo que comparten corazones y visualizaciones de datos" + } + ], + "LearnMoreAboutParticipationButton": "Más información sobre la participación" + }, + "FAQ": { + "Questions": [ + { + "Question": "¿Cuál es el objetivo del Proyecto sobre carcinoma hepatocelular (CHC) pediátrico y tumores similares al CHC?", + "Paragraphs": [ + "El objetivo de este proyecto es crear un conjunto extenso de datos anónimos clínicos, genómicos y moleculares proporcionados por pacientes o por progenitores o tutores de pacientes que se compartirá con la comunidad científica con el fin de lograr una mayor comprensión de estas enfermedades.", + "Debido a que el carcinoma hepatocelular pediátrico y los tumores similares al CHC (también conocidos como hepatoblastoma y CHC mixto o carcinoma hepatocelular no especificado [HCN NOS, por su sigla en inglés]) son tan poco frecuentes, son muy pocos los pacientes que pueden contribuir con sus muestras y datos clínicos a la investigación del cáncer, principalmente porque no tienen forma de hacerlo. Creemos que todos deben tener la oportunidad de aportar a la investigación.", + "Esperamos que los datos generados a través de este proyecto permitan a los investigadores comprender mejor la historia natural y los aspectos biológicos de estas enfermedades raras, poco estudiadas y difíciles de tratar con el fin de desarrollar mejores estrategias de tratamiento en el futuro. Proporcionaremos actualizaciones periódicas por correo electrónico a todos los participantes sobre el estado del proyecto, publicaciones de los datos y cualquier descubrimiento que se origine de esta investigación." + ] + }, + { + "Question": "¿Quiénes reúnen las condiciones para participar?", + "Paragraphs": [ + "Pueden participar todas las personas que vivan en Estados Unidos o Canadá a las que se les haya diagnosticado alguna vez un carcinoma hepatocelular antes de los 21 años, una neoplasia hepatocelular no especificada (HCN NOS, por su sigla en inglés) o un hepatoblastoma diagnosticado después de los 6 años de edad. Para unirse no es necesario que usted o su hijo(a) estén en tratamiento activo. Recibimos a personas de todas las edades, razas, etnias, sexos, orientaciones sexuales, capacidades, religiones y condiciones socioeconómicas. Sin embargo, en este momento, no podemos inscribir a pacientes que hayan fallecido.", + "Se piensa que los tumores de hepatoblastoma que se diagnostican después de los 6 años de edad se comportan de manera similar a un tumor \"mixto\" de carcinoma hepatocelular y hepatoblastoma (o similar a un CHC) con características de ambas enfermedades. Mediante la inscripción de quienes han sido diagnosticados con HCN NOS o hepatoblastoma después de los 6 años de edad, creemos que seremos capaces de comprender mejor el espectro de estas enfermedades y su tratamiento.", + "Si usted es padre, madre o tutor de un menor diagnosticado con una de estas enfermedades, puede otorgar su consentimiento para que participe en el proyecto. Asimismo, dependiendo de su edad, podemos solicitarle permiso directamente al menor para participar con el respectivo asentimiento." + ] + }, + { + "Question": "¿Quién realiza esta investigación?", + "Paragraphs": [ + "Este proyecto forma parte de Count Me In, una iniciativa de investigación que permite que los pacientes con cáncer transformen de forma directa la investigación y los descubrimientos en torno al cáncer. Toda persona en Estados Unidos o Canadá que alguna vez haya recibido un diagnóstico de estos tipos de cáncer puede compartir información sobre su experiencia respondiendo encuestas y compartiendo muestras biológicas y copias de su historia clínica con los investigadores para agilizar los descubrimientos.", + "El objetivo de Count Me In es generar un gran conjunto de datos de información genómica, clínica y molecular aportada por los pacientes o sus progenitores que pueda compartirse con la comunidad biomédica. La historia de cada paciente es una pieza del rompecabezas que puede ayudarnos a comprender mejor el cáncer. Al descubrir los genes y las variaciones que dan lugar al cáncer y compartir estos datos, esperamos poder obtener información valiosa para desarrollar tratamientos más eficaces." + ] + }, + { + "Question": "¿Quién ha participado en el desarrollo de este proyecto?", + "Paragraphs": [ + "Este proyecto se desarrolló con la colaboración estrecha de la comunidad de padres y pacientes con carcinoma hepatocelular pediátrico y tumores similares al hepatocelular. La comunidad ha proporcionado orientación y ha contribuido en numerosos aspectos del proyecto, como el nombre, las estrategias de captación y comunicación, así como en el diseño del sitio web.", + "La Dra. Allison O’Neill (directora clínica del Solid Tumor Center, directora de tratamiento médico del Liver Tumor Center of Excellence y médica sénior del Dana-Farber Cancer Institute/Boston Children's Cancer and Blood Disorders Center) es la investigadora principal de este proyecto y ha participado en su desarrollo desde el principio, incluidos los objetivos científicos, los mensajes y la estrategia." + ] + }, + { + "Question": "¿Qué hace la iniciativa Count Me In con los datos que se obtienen a través de este proyecto?", + "Paragraphs": [ + "Las muestras e información médica estarán a disposición del equipo y los investigadores del estudio de Count Me In, del Instituto Broad de MIT y Harvard, y Dana-Farber Cancer Institute. En el formulario de consentimiento encontrará más detalles sobre cómo protegemos la información de los participantes y sus muestras.", + "Después de eliminar el nombre y toda la información que identificaría con facilidad a los participantes, los datos se comparten libremente con el objetivo de agilizar los descubrimientos, al permitir que los investigadores identifiquen patrones en los datos. Los lotes de datos se divulgan al público y están disponibles para todos los investigadores, de manera que todos pueden utilizarlos para hacer descubrimientos y avances contra el cáncer, que incluyen nuevos medicamentos y métodos de diagnóstico.", + "Los datos se compartirán en bases de datos científicas consumadas de acceso público (como, por ejemplo, en el cBioPortal for Cancer Genomics y portales de datos desarrollados por el National Institute of Health/National Cancer Institute, entre ellos, el Genomic Data Commons y la base de datos de genotipos y fenotipos [dbGaP]). Algunas de estas bases de datos son de acceso público, y otras están restringidas a investigadores acreditados." + ] + } + ] + }, + "Partners": { + "Title": "Socios", + "Alts": {}, + "Text": "Si desea obtener información sobre cómo convertirse en socio, envíe un correo electrónico al equipo a info@joincountmein.org." + }, + "CountMeInSection": { + "Title": "Únase al movimiento Count Me In y comparta su experiencia" + } + }, "LmsPage": { "Title": "Enrolling Soon: The Leiomyosarcoma (LMS) Project", "IntroductionSection": { @@ -488,7 +585,7 @@ "Footer": { "BackToTopButton": "Volver Arriba", "Contacts": "Contáctenos", - "Copyright": "Copyright © 2021 Count Me In. Todos los derechos reservados.", + "Copyright": "Todos los derechos reservados.", "Email": "Correo electrónico", "Phone": "Teléfono", "PrivacyPolicy": "Política de privacidad" diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/facebook.svg b/ddp-workspace/projects/ddp-pancan/src/assets/images/facebook.svg index b61ace3b3a..575985e61b 100644 --- a/ddp-workspace/projects/ddp-pancan/src/assets/images/facebook.svg +++ b/ddp-workspace/projects/ddp-pancan/src/assets/images/facebook.svg @@ -1,12 +1,12 @@ - - Icons / Social / Twitter Copy@1x + + Icons / Social / Facebook Copy@1x - + - + diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/instagram.svg b/ddp-workspace/projects/ddp-pancan/src/assets/images/instagram.svg index 3ce2809fd6..890f850653 100644 --- a/ddp-workspace/projects/ddp-pancan/src/assets/images/instagram.svg +++ b/ddp-workspace/projects/ddp-pancan/src/assets/images/instagram.svg @@ -1,5 +1,5 @@ - + Icons / Social / Twitter Copy 2@1x @@ -10,7 +10,7 @@ - + diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/linkedin.svg b/ddp-workspace/projects/ddp-pancan/src/assets/images/linkedin.svg new file mode 100644 index 0000000000..df4b45bbe1 --- /dev/null +++ b/ddp-workspace/projects/ddp-pancan/src/assets/images/linkedin.svg @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/pedihcc_main.png b/ddp-workspace/projects/ddp-pancan/src/assets/images/pedihcc_main.png new file mode 100644 index 0000000000..6d10a6934d Binary files /dev/null and b/ddp-workspace/projects/ddp-pancan/src/assets/images/pedihcc_main.png differ diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/threads.svg b/ddp-workspace/projects/ddp-pancan/src/assets/images/threads.svg new file mode 100644 index 0000000000..e7ca915ad1 --- /dev/null +++ b/ddp-workspace/projects/ddp-pancan/src/assets/images/threads.svg @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/ddp-workspace/projects/ddp-pancan/src/assets/images/twitter_x.svg b/ddp-workspace/projects/ddp-pancan/src/assets/images/twitter_x.svg new file mode 100644 index 0000000000..db4c0e77e7 --- /dev/null +++ b/ddp-workspace/projects/ddp-pancan/src/assets/images/twitter_x.svg @@ -0,0 +1,9 @@ + + + 2C9E071F-7335-4693-B2F1-194D44EF0DED@1x + + + + + + \ No newline at end of file diff --git a/ddp-workspace/projects/ddp-pancan/src/styles.scss b/ddp-workspace/projects/ddp-pancan/src/styles.scss index fdf65bc19e..3dbe1c8aa7 100644 --- a/ddp-workspace/projects/ddp-pancan/src/styles.scss +++ b/ddp-workspace/projects/ddp-pancan/src/styles.scss @@ -307,3 +307,12 @@ section { background-color: $primary-colorectal-color !important; color: #fff !important; } + +.mat-pedihcc { + background-color: $stay-informed-pedihcc-color !important; + color: #fff !important; + + &:hover { + background-color: grey; + } +} diff --git a/ddp-workspace/projects/ddp-pancan/src/styles/variables.scss b/ddp-workspace/projects/ddp-pancan/src/styles/variables.scss index b22848b514..43372ecad0 100644 --- a/ddp-workspace/projects/ddp-pancan/src/styles/variables.scss +++ b/ddp-workspace/projects/ddp-pancan/src/styles/variables.scss @@ -19,6 +19,9 @@ $text-color: #000000; $primary-color: #7154FF; $primary-colorectal-color: #0174CA; $accent-colorectal-color: #ACE1FF; +$primary-pedihcc-color: #005B46; +$accent-pedihcc-color: #CCE6E0; +$stay-informed-pedihcc-color: #008264; $primary-lms-color: #713a94; $accent-lms-color: #C59CE4; $grey-text-color: #59585F; diff --git a/ddp-workspace/projects/ddp-pancan/src/theme.scss b/ddp-workspace/projects/ddp-pancan/src/theme.scss index 46c4f6b3b5..b568715053 100644 --- a/ddp-workspace/projects/ddp-pancan/src/theme.scss +++ b/ddp-workspace/projects/ddp-pancan/src/theme.scss @@ -2,6 +2,8 @@ @import '@angular/material/theming'; @import 'styles/variables'; +mat.$theme-ignore-duplication-warnings: true; + $custom-typography: mat.define-typography-config($font-family: $primary-font); @include mat.core($custom-typography); diff --git a/ddp-workspace/projects/ddp-prion/src/styles.scss b/ddp-workspace/projects/ddp-prion/src/styles.scss index 89416a9a73..b9235a247a 100644 --- a/ddp-workspace/projects/ddp-prion/src/styles.scss +++ b/ddp-workspace/projects/ddp-prion/src/styles.scss @@ -2184,6 +2184,7 @@ mat-form-field.mat-form-field-type-mat-input { input { border: 1px solid #cecece !important; height: 35px !important; + padding-left: 0.6em; } } @@ -2530,6 +2531,17 @@ ddp-activity-composite-answer .ddp-answer-container { color: mat.get-color-from-palette($app-theme, 1700); } +select.mat-input-element { + padding-top: 0!important; + padding-left: 0.6em; +} + +.mat-form-field-type-mat-native-select .mat-form-field-infix::after { + right: 3%!important; + top: 32%!important; +} + + .mat-checkbox-frame { border-color: #CECECE; border-width: 1px !important; diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/authentication/auth0Adapter.service.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/authentication/auth0Adapter.service.ts index b8e35829b0..4cdcd56a53 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/authentication/auth0Adapter.service.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/authentication/auth0Adapter.service.ts @@ -156,7 +156,7 @@ export class Auth0AdapterService implements OnDestroy { public signup(additionalParams?: Record): void { const temporarySession = this.session.isTemporarySession() ? this.session.session : null; if (!temporarySession || !temporarySession.userGuid) { - this.log.logError(`${this.LOG_SOURCE}.signup.No temporal user guid`); + this.log.logError(`${this.LOG_SOURCE}.signup: No temporal user guid`); } const params = { ...(temporarySession && { @@ -170,7 +170,7 @@ export class Auth0AdapterService implements OnDestroy { // @todo : hack delete when done serverUrl: this.configuration.backendUrl }; - this.log.logToCloud(`Auth0 signup modal is open for user: ${JSON.stringify(params)}`, { auth0Mode: Auth0Mode.SignupOnly }) + this.log.logToCloud(`Auth0 signup modal is open for user ${params.temp_user_guid}: ${JSON.stringify(params)}`, { auth0Mode: Auth0Mode.SignupOnly }) .pipe(take(1)).subscribe(() => this.showAuth0Modal(Auth0Mode.SignupOnly, params)); } @@ -192,8 +192,6 @@ export class Auth0AdapterService implements OnDestroy { this.windowRef.nativeWindow.location.hash = ''; this.setSession(authResult); this.log.logEvent(`${this.LOG_SOURCE}.handleAuthentication succeeded`); - this.log.logToCloud(`${this.LOG_SOURCE}.handleAuthentication, authResult: ${JSON.stringify(authResult)}`) - .pipe(take(1)).subscribe(); this.analytics.emitCustomEvent(AnalyticsEventCategories.Authentication, AnalyticsEventActions.Login); } else if (err) { this.log.logError(`${this.LOG_SOURCE}.handleAuthentication`, err); @@ -201,7 +199,7 @@ export class Auth0AdapterService implements OnDestroy { try { error = JSON.parse(decodeURIComponent(err.errorDescription)); } catch (e) { - this.log.logError(`${this.LOG_SOURCE}.handleAuthentication.Problem decoding authentication error`, e); + this.log.logError(`${this.LOG_SOURCE}.handleAuthentication: Problem decoding authentication error`, e); } if (onErrorCallback && error) { // We might encounter errors from Auth0 that is not in expected @@ -280,7 +278,8 @@ export class Auth0AdapterService implements OnDestroy { public logout(returnToUrl: string = ''): void { const baseUrl = this.configuration.baseUrl; - this.log.logToCloud(`${this.LOG_SOURCE} logout for user`).pipe(take(1)).subscribe(() => { + const userGuid = this.session.session.userGuid; + this.log.logToCloud(`${this.LOG_SOURCE} logout for user ${userGuid}`).pipe(take(1)).subscribe(() => { // Remove tokens and expiry time from localStorage this.session.clear(); this.log.logEvent(this.LOG_SOURCE, 'logout'); @@ -303,6 +302,7 @@ export class Auth0AdapterService implements OnDestroy { }); } }); + this.log.logEvent(this.LOG_SOURCE, `Successfully logged out user ${userGuid}`); } public auth0RenewToken(): Observable { diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/internationalization/ngxTranslate.service.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/internationalization/ngxTranslate.service.ts index 3b6c55f41a..0a3dca930b 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/internationalization/ngxTranslate.service.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/internationalization/ngxTranslate.service.ts @@ -11,12 +11,14 @@ export class NGXTranslateService { public getTranslation(words: Array, interpolateParams?: object): Observable; public getTranslation(word: string | Array, interpolateParams?: object): Observable { - return merge( - of(null), - this.translate.onLangChange, - this.translate.onDefaultLangChange).pipe( + return this.translate ? + merge( + of(null), + this.translate.onLangChange, + this.translate.onDefaultLangChange).pipe( mergeMap(() => this.translate.get(word, interpolateParams)) - ); + ) : + of({}); } public getTranslationObject(transKey: string): Observable { diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.spec.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.spec.ts index d6e8d1b68b..da14d70388 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.spec.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.spec.ts @@ -71,12 +71,4 @@ describe('LoggingService', () => { expect(JSON.stringify(service.logWarning)).toEqual(JSON.stringify(() => { })); expect(service.logError).not.toEqual(() => { }); }); - - it('should call StackdriverErrorReporterService.handleReport if logLevel is Error', () => { - config.logLevel = LogLevel.Error; - service = new LoggingService(config, stackdriverErrorReporterServiceSpy, httpClientSpy, sessionMock); - - service.logError('a deliberate error during Logging service test'); - expect(stackdriverErrorReporterServiceSpy.handleError).toHaveBeenCalledWith('a deliberate error during Logging service test'); - }); }); diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.ts index ea4f56f394..606a71065d 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/logging.service.ts @@ -2,7 +2,7 @@ import { Injectable, Inject } from '@angular/core'; import { ConfigurationService } from './configuration.service'; import { LogLevel } from '../models/logLevel'; import { StackdriverErrorReporterService } from './stackdriverErrorReporter.service'; -import { catchError, map } from 'rxjs/operators'; +import { catchError, map, take } from 'rxjs/operators'; import { Observable, of } from 'rxjs'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { SessionMementoService } from './sessionMemento.service'; @@ -22,11 +22,11 @@ export class LoggingService { public logError: Logger = this.showEvent(LogLevel.Error) ? (...args) => { - const stringifiedArgs = args.map(item => ( - (typeof item === 'object') ? this.stringify(item) : item - )); - - this.stackdriverErrorReporterService.handleError(stringifiedArgs.join(', ')); + const stringifiedArgs = args.map((arg) => { + let str = (typeof arg === 'object') ? this.stringify(arg) : arg; + return str += arg instanceof Error ? `, ${arg.stack}` : ''; + }); + this.logToCloud(stringifiedArgs.join(',\n'), null, 'ERROR').pipe(take(1)).subscribe(); console.error.apply(window.console, stringifiedArgs); } : () => { }; @@ -42,7 +42,10 @@ export class LoggingService { } private stringify(obj: object): string { - return Object.keys(obj).map(key => `${key}: ${obj[key]}`).join(', '); + return Object.keys(obj).map(key => { + const value = obj[key]; + return (typeof value === 'object') ? `${key}: ${JSON.stringify(value)}` : `${key}: ${value}`; + }).join(', '); } public logToCloud(payload: string, labels?: {[key: string]: string}, severity = 'INFO'): Observable { @@ -64,7 +67,9 @@ export class LoggingService { body, { headers: new HttpHeaders({ 'Content-Type': 'application/json' }) }).pipe( catchError((error: any) => { - this.logError(this.LOG_SOURCE, `HTTP POST: ${url}. Error:`, error); + this.stackdriverErrorReporterService.handleError(`${this.LOG_SOURCE}: HTTP POST: ${url}`); + this.stackdriverErrorReporterService.handleError(error); + console.error.apply(window.console, error); return of(null); }), map(() => void 0) diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/sessionMemento.service.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/sessionMemento.service.ts index 53fc8aca65..4a10267d91 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/sessionMemento.service.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/sessionMemento.service.ts @@ -183,7 +183,6 @@ export class SessionMementoService implements OnDestroy { if (session === null) { return false; } - return new Date().getTime() > session.expiresAt; } diff --git a/ddp-workspace/projects/ddp-sdk/src/lib/services/stackdriverErrorReporter.service.ts b/ddp-workspace/projects/ddp-sdk/src/lib/services/stackdriverErrorReporter.service.ts index 1e30bb68b9..dc72447afb 100644 --- a/ddp-workspace/projects/ddp-sdk/src/lib/services/stackdriverErrorReporter.service.ts +++ b/ddp-workspace/projects/ddp-sdk/src/lib/services/stackdriverErrorReporter.service.ts @@ -30,11 +30,14 @@ export class StackdriverErrorReporterService extends ErrorHandler { } public handleError(error: Error | string): void { + super.handleError(error); if (this.config.doGcpErrorReporting) { - this.errorHandler.report(error); + try { + this.errorHandler.report(error); + } catch (e) { + console.error.apply(window.console, e); + } } - // Pass the error to the original handleError otherwise it gets swallowed in the browser console - super.handleError(error); } private checkReportingParams(key: string, projectId: string): void { diff --git a/ddp-workspace/projects/toolkit/src/lib/components/app/app-redesigned-base.component.ts b/ddp-workspace/projects/toolkit/src/lib/components/app/app-redesigned-base.component.ts index 333346d64c..ee5a1d7d86 100644 --- a/ddp-workspace/projects/toolkit/src/lib/components/app/app-redesigned-base.component.ts +++ b/ddp-workspace/projects/toolkit/src/lib/components/app/app-redesigned-base.component.ts @@ -39,20 +39,24 @@ export class AppRedesignedBaseComponent implements OnInit, OnDestroy { } private initMailingListDialogListener(): void { - const modalOpen = this.communicationService.openJoinDialog$.subscribe(() => { - this.dialog.open(JoinMailingListComponent, this.DIALOG_BASE_SETTINGS); - }); - this.anchor.addNew(modalOpen); + if(this.communicationService) { + const modalOpen = this.communicationService.openJoinDialog$.subscribe(() => { + this.dialog?.open(JoinMailingListComponent, this.DIALOG_BASE_SETTINGS); + }); + this.anchor.addNew(modalOpen); + } } private initSessionExpiredDialogListener(): void { - const modalOpen = this.renewNotifier.openDialogEvents.subscribe(() => { - this.dialog.open(SessionWillExpireComponent, { ...this.DIALOG_BASE_SETTINGS, disableClose: true }); - }); - const modalClose = this.renewNotifier.closeDialogEvents.subscribe(() => { - this.dialog.closeAll(); - }); - this.anchor.addNew(modalOpen).addNew(modalClose); + if(this.renewNotifier) { + const modalOpen = this.renewNotifier.openDialogEvents.subscribe(() => { + this.dialog?.open(SessionWillExpireComponent, { ...this.DIALOG_BASE_SETTINGS, disableClose: true }); + }); + const modalClose = this.renewNotifier.closeDialogEvents.subscribe(() => { + this.dialog?.closeAll(); + }); + this.anchor.addNew(modalOpen).addNew(modalClose); + } } private initRouterListener(): void { diff --git a/ddp-workspace/projects/toolkit/src/lib/services/toolkitConfiguration.service.ts b/ddp-workspace/projects/toolkit/src/lib/services/toolkitConfiguration.service.ts index 59931f5709..7d20095bc4 100644 --- a/ddp-workspace/projects/toolkit/src/lib/services/toolkitConfiguration.service.ts +++ b/ddp-workspace/projects/toolkit/src/lib/services/toolkitConfiguration.service.ts @@ -65,6 +65,8 @@ export class ToolkitConfigurationService { dataEmail: string; colorectalPagePhone: string; colorectalPageEmail: string; + pediHCCPagePhone: string; + pediHCCPageEmail: string; lmsPagePhone: string; lmsPageEmail: string; twitterAccountId: string; diff --git a/playwright-e2e/.eslintrc.js b/playwright-e2e/.eslintrc.js index a3a22ef454..085b4f339f 100644 --- a/playwright-e2e/.eslintrc.js +++ b/playwright-e2e/.eslintrc.js @@ -71,13 +71,28 @@ module.exports = { 'template-curly-spacing': 'warn', 'vars-on-top': 'warn', 'comma-dangle': 'off', + '@typescript-eslint/comma-dangle': 'off', '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-floating-promises': 'warn', + '@typescript-eslint/no-floating-promises': 'error', + '@typescript-eslint/require-await': 'error', + '@typescript-eslint/await-thenable': 'error', + "@typescript-eslint/no-misused-promises": "error", + "@typescript-eslint/promise-function-async": "error", 'import/first': 'warn', 'import/no-anonymous-default-export': ['warn', { allowObject: true }], 'no-debugger': 'warn', + "no-restricted-imports": ["error", + { + "patterns": [ + { + "group": ["../"], + "message": "Relative import is not allowed." + } + ] + } + ], '@typescript-eslint/no-non-null-assertion': 'off', 'max-len': [ diff --git a/playwright-e2e/.gitignore b/playwright-e2e/.gitignore index 27173d9a8f..98f49337d1 100644 --- a/playwright-e2e/.gitignore +++ b/playwright-e2e/.gitignore @@ -6,7 +6,7 @@ node_modules/ build/ junit/ -**/.env +**/.env* **/.idea/ **/*.iml diff --git a/playwright-e2e/README.md b/playwright-e2e/README.md index fbb493144d..783b2b3aaf 100644 --- a/playwright-e2e/README.md +++ b/playwright-e2e/README.md @@ -82,7 +82,7 @@ Note: Update docker image version when upgrading Playwright version > cd playwright-e2e/ - Start running Playwright docker image - > docker run -v $PWD:/e2e -w /e2e -it --rm --ipc=host -p 9323:9323 mcr.microsoft.com/playwright:v1.31.0-focal /bin/bash + > docker run -v $PWD:/e2e -w /e2e -it --rm --ipc=host -p 9323:9323 mcr.microsoft.com/playwright:v1.38.0-jammy /bin/bash - Install dependencies inside docker container > npm install diff --git a/playwright-e2e/authentication/auth-atcp.ts b/playwright-e2e/authentication/auth-atcp.ts index 2e6180fae2..736e34749a 100644 --- a/playwright-e2e/authentication/auth-atcp.ts +++ b/playwright-e2e/authentication/auth-atcp.ts @@ -1,10 +1,9 @@ import { Page } from '@playwright/test'; -import AtcpRegistrationPage from 'dss/pages/atcp/atcp-registration-page'; import { generateEmailAlias } from 'utils/faker-utils'; const { ATCP_USER_EMAIL, ATCP_USER_PASSWORD } = process.env; -export async function login(page: Page, opts: { email?: string; password?: string } = {}): Promise { +export async function login(page: Page, opts: { email?: string; password?: string } = {}): Promise { const { email = ATCP_USER_EMAIL, password = ATCP_USER_PASSWORD } = opts; if (!email) { throw Error('Invalid ATCP email'); @@ -18,10 +17,6 @@ export async function login(page: Page, opts: { email?: string; password?: strin await page.locator('#login input#email').fill(email); await page.locator('#login input#password').fill(password); await page.click('button >> text="Sign In"'); - - const registrationPage = new AtcpRegistrationPage(page); - await registrationPage.waitForReady(); - return registrationPage; } export async function createAccountWithEmailAlias( diff --git a/playwright-e2e/authentication/auth-dsm.ts b/playwright-e2e/authentication/auth-dsm.ts index 7010afbcda..2a73545ce1 100644 --- a/playwright-e2e/authentication/auth-dsm.ts +++ b/playwright-e2e/authentication/auth-dsm.ts @@ -1,4 +1,4 @@ -import { Page } from '@playwright/test'; +import { Page, expect } from '@playwright/test'; import { waitForNoSpinner } from 'utils/test-utils'; import { fillInEmailPassword } from './auth-base'; @@ -7,6 +7,13 @@ const { DSM_USER_EMAIL, DSM_USER_PASSWORD, DSM_BASE_URL } = process.env; export async function login(page: Page, opts: { email?: string; password?: string } = {}): Promise { const { email = DSM_USER_EMAIL, password = DSM_USER_PASSWORD } = opts; + const assertLoggedIn = async (page: Page): Promise => { + await expect(page.locator('.auth0-loading')).toBeHidden(); + await expect(page.locator('.auth0-lock-header-welcome')).toBeHidden(); + await waitForNoSpinner(page); + await expect(page).toHaveTitle('Select study'); + }; + if (email == null) { throw Error('Invalid parameter: DSM user email is undefined or null.'); } @@ -17,9 +24,19 @@ export async function login(page: Page, opts: { email?: string; password?: strin throw Error('Invalid parameter: DSM base URL is undefined or null.'); } - await page.goto(DSM_BASE_URL, { waitUntil: 'load' }); + await page.goto(DSM_BASE_URL, { waitUntil: 'networkidle' }); await fillInEmailPassword(page, { email, password, waitForNavigation: false }); - - await page.locator('.auth0-loading').waitFor({ state: 'hidden' }); - await waitForNoSpinner(page); + try { + await assertLoggedIn(page); + } catch (err) { + // Try log in again if login window re-appears (POST /auth0 fails intermittenly) + await page.waitForTimeout(2000); + const visible = await page.locator('.auth0-lock-header-welcome').isVisible(); + if (visible) { + await fillInEmailPassword(page, { email, password, waitForNavigation: false }); + await assertLoggedIn(page); + return; + } + throw err; + } } diff --git a/playwright-e2e/data/fake-user.json b/playwright-e2e/data/fake-user.json index eb72bd0cef..810fdc75b9 100644 --- a/playwright-e2e/data/fake-user.json +++ b/playwright-e2e/data/fake-user.json @@ -27,6 +27,15 @@ "zip": "02142-1027", "phone": "6177147000", "secondaryPhoneNumber": "6171234000" + }, "brother": { + "firstName": "Test Brother", + "lastName": "Playwright", + "relationshipID": "14" + }, + "maternalGrandFather": { + "firstName": "Test Maternal Grandfather", + "lastName": "Playwright", + "relationshipID": "70" }, "doctor": { "name": "John Strange", @@ -102,7 +111,20 @@ "streetAddress": "415 Main Street", "city": "Cambridge", "zip": "02142-1027", - "phone": "6177147000" + "phone": "6177147000", + "doctor": { + "fullName": "Will Stone", + "firstName": "Will", + "lastName": "Stone", + "specialty": "PRIMARY_CARE", + "phone": "6172223333", + "hospital": "Massachusetts General Hospital", + "address": "55 Fruit Street, Boston, MA 02114", + "street": "55 Fruit Street", + "city": "Boston", + "state": "MA", + "zip": "02114" + } }, "adultDependent": { "firstName": "E2E-Adult-Dependent", diff --git a/playwright-e2e/data/mock-address.json b/playwright-e2e/data/mock-address.json new file mode 100644 index 0000000000..631beaa08e --- /dev/null +++ b/playwright-e2e/data/mock-address.json @@ -0,0 +1,66 @@ +{ + "boston": { + "name": "Broad", + "country": { + "name": "UNITED STATES", + "abbreviation": "US" + }, + "state": { + "name": "MASSACHUSETTS", + "abbreviation": "MA" + }, + "street": "105 Broadway", + "street2": "", + "city": "Cambridge", + "zip": "02142-1027", + "phone": "6177149000" + }, + "hospital": { + "name": "Mass General", + "country": { + "name": "UNITED STATES", + "abbreviation": "US" + }, + "state": { + "name": "MASSACHUSETTS", + "abbreviation": "MA" + }, + "street": "55 Fruit Street", + "street2": "", + "city": "Boston", + "zip": "02114", + "phone": "6187247123" + }, + "canada": { + "name": "red maple", + "country": { + "name": "CANADA", + "abbreviation": "CA" + }, + "state": { + "name": "ONTARIO", + "abbreviation": "ON" + }, + "street": "160 Main Street", + "street2": "Suite A10", + "city": "Ottawa", + "zip": "11111", + "phone": "6139333692" + }, + "newyork": { + "name": "NY", + "country": { + "name": "UNITED STATES", + "abbreviation": "US" + }, + "state": { + "name": "MASSACHUSETTS", + "abbreviation": "MA" + }, + "street": "101010 Eighth Avenue", + "street2": "Suite A1000", + "city": "New York", + "zip": "11111", + "phone": "6669999666" + } +} diff --git a/playwright-e2e/dsm/component/cohort-tag.ts b/playwright-e2e/dsm/component/cohort-tag.ts index d9fb5e1f24..728c963f3a 100644 --- a/playwright-e2e/dsm/component/cohort-tag.ts +++ b/playwright-e2e/dsm/component/cohort-tag.ts @@ -17,7 +17,7 @@ export default class CohortTag { } public async submitAndExit(): Promise { - const submitButton = await this.page.locator(this.getSubmitButtonXPath); + const submitButton = this.page.locator(this.getSubmitButtonXPath); !(await submitButton.isDisabled()) && (await submitButton.click()); await this.waitForOKResponse('bulkCreateCohortTags'); await this.page.keyboard.press('Escape'); diff --git a/playwright-e2e/dsm/component/date-picker.ts b/playwright-e2e/dsm/component/date-picker.ts index 9fae7a0d16..aad888bd29 100644 --- a/playwright-e2e/dsm/component/date-picker.ts +++ b/playwright-e2e/dsm/component/date-picker.ts @@ -76,7 +76,7 @@ export default class DatePicker { await this.monthPicker().locator(this.clickableCell(), { hasText: monthName }).click(); // pick day of month - await this.dayPicker().locator(this.clickableCell(), { hasText: date }).click(); + await this.dayPicker().locator(this.clickableCell(), { hasText: date }).first().click(); // calendar close automatically return getDate(new Date(yyyy, month, parseInt(date))); diff --git a/playwright-e2e/dsm/component/filters/sections/customize-view.ts b/playwright-e2e/dsm/component/filters/sections/customize-view.ts index 2985f43795..f0a9f7041c 100644 --- a/playwright-e2e/dsm/component/filters/sections/customize-view.ts +++ b/playwright-e2e/dsm/component/filters/sections/customize-view.ts @@ -90,10 +90,10 @@ export class CustomizeView { } private get columnsGroupXPath(): string { - return `//div[button[@data-toggle='dropdown'] and button[.//*[text()[normalize-space()='${this.activeColumnsGroup}']]]]`; + return `//div[button[@data-toggle="dropdown"] and button[.//*[text()[normalize-space()="${this.activeColumnsGroup}"]]]]`; } private columnPathXPath(columnName: string): string { - return `/ul/li/mat-checkbox[label[.//*[text()[normalize-space()='${columnName}']]]]`; + return `/ul/li/mat-checkbox[label[.//*[text()[normalize-space()="${columnName}"]]]]`; } } diff --git a/playwright-e2e/dsm/component/filters/sections/search/search-enums.ts b/playwright-e2e/dsm/component/filters/sections/search/search-enums.ts index 541ac63087..760de64db4 100644 --- a/playwright-e2e/dsm/component/filters/sections/search/search-enums.ts +++ b/playwright-e2e/dsm/component/filters/sections/search/search-enums.ts @@ -11,4 +11,5 @@ export enum CustomViewColumns { PARTICIPANT = 'Participant Columns', RESEARCH_CONSENT_FORM = 'Research Consent Form Columns', SAMPLE = 'Sample Columns', + DIAGNOSIS_TYPE = 'Survey: Your Child\'s/Your [DIAGNOSIS TYPE] Columns' } diff --git a/playwright-e2e/dsm/component/filters/sections/search/search.ts b/playwright-e2e/dsm/component/filters/sections/search/search.ts index 89cc9a7384..34cf17fed0 100644 --- a/playwright-e2e/dsm/component/filters/sections/search/search.ts +++ b/playwright-e2e/dsm/component/filters/sections/search/search.ts @@ -3,6 +3,7 @@ import DatePicker from 'dsm/component/date-picker'; import { CheckboxConfig, DateConfig, RadioButtonConfig, TextConfig } from 'dsm/component/filters/sections/search/search-types'; import { AdditionalFilter } from 'dsm/component/filters/sections/search/search-enums'; import { waitForNoSpinner, waitForResponse } from 'utils/test-utils'; +import { logError } from 'utils/log-utils'; export class Search { private readonly enUSDateRegExp = new RegExp(/\b(0[1-9]|1[012])([/])(0[1-9]|[12]\d|3[01])\2(\d{4})/); @@ -14,7 +15,7 @@ export class Search { public async open(): Promise { const open = await this.isOpen(); !open && await this.page.locator(this.openButtonXPath).click(); - await expect(async () => expect(await this.isOpen()).toBe(true)).toPass(); + await expect(async () => expect(await this.isOpen()).toBe(true)).toPass({ timeout: 5000 }); } public async search(): Promise { @@ -32,6 +33,8 @@ export class Search { public async dates(columnName: string, { from: fromValue, to: toValue, additionalFilters }: Partial): Promise { await this.setAdditionalFilters(columnName, additionalFilters); + if (!fromValue && !toValue) { return; } + let fromDate!: string; let toDate!: string; @@ -82,7 +85,7 @@ export class Search { await this.setAdditionalFilters(columnName, additionalFilters); if (checkboxValues && checkboxValues.length) { for (const checkboxValue of checkboxValues) { - const checkboxLocator = await this.checkboxLocator(columnName, checkboxValue); + const checkboxLocator = this.checkboxLocator(columnName, checkboxValue); const isChecked = await this.isChecked(checkboxLocator); const isDisabled = await this.isDisabled(checkboxLocator); @@ -97,6 +100,7 @@ export class Search { const datePicker = new DatePicker(this.page, { root: this.baseColumnXPath(column) }); if (open) { await datePicker.open(); + await datePicker.toLocator().scrollIntoViewIfNeeded().catch((error) => logError(error)); } else { await datePicker.close(); } @@ -128,7 +132,7 @@ export class Search { } private async setExactMatch(columnName: string, isTextField = false): Promise { - const additionalFilterCheckbox = await this.additionalFilterCheckboxLocator(columnName, AdditionalFilter.EXACT_MATCH, isTextField); + const additionalFilterCheckbox = this.additionalFilterCheckboxLocator(columnName, AdditionalFilter.EXACT_MATCH, isTextField); const isCheckedOrDisabled = await this.isChecked(additionalFilterCheckbox); isCheckedOrDisabled && (await additionalFilterCheckbox.click()); diff --git a/playwright-e2e/dsm/component/kitType/enums/kitType-enum.ts b/playwright-e2e/dsm/component/kitType/enums/kitType-enum.ts index ba380f579b..c130e9da9e 100644 --- a/playwright-e2e/dsm/component/kitType/enums/kitType-enum.ts +++ b/playwright-e2e/dsm/component/kitType/enums/kitType-enum.ts @@ -1,5 +1,6 @@ export enum KitTypeEnum { SALIVA = 'SALIVA', BLOOD = 'BLOOD', - STOOL = 'STOOL' + STOOL = 'STOOL', + BLOOD_AND_RNA = 'BLOOD & RNA' } diff --git a/playwright-e2e/dsm/component/kitType/kitType.ts b/playwright-e2e/dsm/component/kitType/kitType.ts index aa8e83e6ce..b4b790155d 100644 --- a/playwright-e2e/dsm/component/kitType/kitType.ts +++ b/playwright-e2e/dsm/component/kitType/kitType.ts @@ -1,4 +1,4 @@ -import {expect, Locator, Page} from '@playwright/test'; +import {Locator, Page} from '@playwright/test'; import {KitTypeEnum} from 'dsm/component/kitType/enums/kitType-enum'; export class KitType { diff --git a/playwright-e2e/dsm/component/modal.ts b/playwright-e2e/dsm/component/modal.ts index 8babb22844..e6bc7641c3 100644 --- a/playwright-e2e/dsm/component/modal.ts +++ b/playwright-e2e/dsm/component/modal.ts @@ -9,7 +9,7 @@ export default class Modal { constructor(private readonly page: Page) { this.page = page; - this.rootSelector = this.page.locator('.modal-dialog'); + this.rootSelector = this.page.locator('app-modal, .modal-dialog'); } public toLocator(): Locator { diff --git a/playwright-e2e/dsm/component/navigation/navigation.ts b/playwright-e2e/dsm/component/navigation/navigation.ts index 7ac26d7478..24c1a72a88 100644 --- a/playwright-e2e/dsm/component/navigation/navigation.ts +++ b/playwright-e2e/dsm/component/navigation/navigation.ts @@ -15,6 +15,8 @@ import {MiscellaneousEnum} from 'dsm/component/navigation/enums/miscellaneousNav import KitsSentPage from 'dsm/pages/kitsInfo-pages/kitsSentPage'; import KitsReceivedPage from 'dsm/pages/kitsInfo-pages/kitsReceived-page/kitsReceivedPage'; import TrackingScanPage from 'dsm/pages/scanner-pages/trackingScan-page'; +import RgpFinalScanPage from 'dsm/pages/scanner-pages/rgpFinalScan-page'; +import ErrorPage from 'dsm/pages/samples/error-page'; type Selection = StudyNavEnum | StudyEnum | SamplesNavEnum | MiscellaneousEnum; @@ -27,9 +29,11 @@ export class Navigation { [SamplesNavEnum.INITIAL_SCAN, new InitialScanPage(this.page)], [SamplesNavEnum.TRACKING_SCAN, new TrackingScanPage(this.page)], [SamplesNavEnum.FINAL_SCAN, new FinalScanPage(this.page)], + [SamplesNavEnum.RGP_FINAL_SCAN, new RgpFinalScanPage(this.page)], [SamplesNavEnum.KIT_UPLOAD, new KitUploadPage(this.page)], [SamplesNavEnum.SENT, new KitsSentPage(this.page)], [SamplesNavEnum.RECEIVED, new KitsReceivedPage(this.page, this.request)], + [SamplesNavEnum.ERROR, new ErrorPage(this.page)], ]) }; diff --git a/playwright-e2e/dsm/component/smid.ts b/playwright-e2e/dsm/component/smid.ts new file mode 100644 index 0000000000..2a9df37a17 --- /dev/null +++ b/playwright-e2e/dsm/component/smid.ts @@ -0,0 +1,105 @@ +import {expect, Locator, Page} from '@playwright/test'; +import Input from 'dss/component/input'; +import {waitForResponse} from 'utils/test-utils'; +import Modal from './modal'; + +interface InputData { + value: string; + selectCheckbox?: boolean; +} + +export default class SMID { + private readonly modalComponent: Modal; + + constructor(private readonly page: Page, private readonly tissueIndex: number) { + this.modalComponent = new Modal(this.page); + } + + public async getValueAt(index: number): Promise { + const input = await this.getInputAt(index); + return input.currentValue(); + } + + public async fillInputs(inputData: (InputData | string)[]): Promise { + for (let i = 0; i < inputData.length; i++) { + const field = inputData[i]; + const value = typeof field === 'object' ? field.value : field; + const selectCheckbox = typeof field === 'object' ? field.selectCheckbox : false; + + const isInputVisible = await this.isInputVisible(i); + if (!isInputVisible) { + await this.addField(); + } + await this.fillField(value, i); + selectCheckbox && await this.selectCheckbox(i); + } + } + + public async deleteInputAt(index: number): Promise { + const deleteBtnLocator = this.fields.nth(index).locator('//td/button'); + await expect(deleteBtnLocator, `Delete button is not visible at index ${index}`).toBeVisible(); + + await deleteBtnLocator.click(); + } + + public async close(): Promise { + await this.clickModalBtn('close'); + } + + public async onlyKeepSelectedSMIDs(): Promise { + await this.clickModalBtn('Only keep selected SM-IDs'); + await waitForResponse(this.page, {uri: 'patch'}); + } + + /* Helper Functions */ + private async isInputVisible(index: number): Promise { + return this.fields.nth(index).isVisible(); + } + + private async addField(): Promise { + await this.addBtn.click(); + } + + private async fillField(value: string, index: number): Promise { + const fieldInput = await this.getInputAt(index); + const currentValue = await fieldInput.currentValue(); + if (currentValue.trim() !== value) { + await fieldInput.fillSimple(value); + await waitForResponse(this.page, {uri: 'patch'}); + } + } + + private async selectCheckbox(index: number): Promise { + const checkboxLocator = this.fields.nth(index).locator('//td/mat-checkbox'); + await expect(checkboxLocator, `Checkbox is not visible at index ${index}`).toBeVisible(); + await checkboxLocator.click(); + } + + private async getInputAt(index: number): Promise
Self Describe *
Type: Radiobutton picklist */ - diagnosedWithAngiosarcoma(label: DESCRIBE_SELF): Promise { - return new Radiobutton(this.page).check(label); + async diagnosedWithAngiosarcoma(label: DESCRIBE_SELF): Promise { + return await new Radiobutton(this.page).check(label); } } diff --git a/playwright-e2e/dss/pages/angio/enrollment/medical-release-form-page.ts b/playwright-e2e/dss/pages/angio/enrollment/medical-release-form-page.ts index d8b4d57bfb..3c3971369f 100644 --- a/playwright-e2e/dss/pages/angio/enrollment/medical-release-form-page.ts +++ b/playwright-e2e/dss/pages/angio/enrollment/medical-release-form-page.ts @@ -1,6 +1,5 @@ import { expect, Locator, Page } from '@playwright/test'; import Institution from 'dss/component/institution'; -import Checkbox from 'dss/component/checkbox'; import { AngioPageBase } from 'dss/pages/angio/angio-page-base'; import { waitForNoSpinner } from 'utils/test-utils'; diff --git a/playwright-e2e/dss/pages/atcp/atcp-assent-for-kids-page.ts b/playwright-e2e/dss/pages/atcp/atcp-assent-for-kids-page.ts new file mode 100644 index 0000000000..71169ecd49 --- /dev/null +++ b/playwright-e2e/dss/pages/atcp/atcp-assent-for-kids-page.ts @@ -0,0 +1,101 @@ +import { expect, Locator, Page } from '@playwright/test'; +import Input from 'dss/component/input'; +import Question from 'dss/component/Question'; +import { AtcpPageBase } from 'dss/pages/atcp/atcp-page-base'; +import { waitForNoSpinner } from 'utils/test-utils'; + +export default class AtcpAssentForKidsPage extends AtcpPageBase { + constructor(page: Page) { + super(page); + } + + async waitForReady(): Promise { + await super.waitForReady(); + await expect(this.page.locator('h1.activity-header')).toHaveText(/^Assent for Kids$/); + await expect(this.getNextButton()).toBeVisible(); + await expect(this.page.locator('.activity-steps-kids')).toBeVisible(); + await expect(this.downloadAssentForm).toBeVisible(); + await waitForNoSpinner(this.page); + } + + get downloadAssentForm(): Locator { + return this.page.locator('a[download="A-T_Research_Assent_Form.EN.pdf"]'); + } + + /** + *
Question: Study staff can contact me later with more questions or information about future research. + * I do not have to answer these questions or take part in future research. + * + *
Type: Radiobutton + */ + get canContactMeLater(): Question { + return new Question(this.page, { cssClassAttribute: '.boolean-answer-CAN_CONTACT_LATER'}); + } + + /** + *
Question: Study staff can do tests on the genes in my spit. + * + *
Type: Radiobutton + */ + get canDoTestsOnGenes(): Question { + return new Question(this.page, { cssClassAttribute: '.boolean-answer-ASSENT_CAN_DO_TESTS'}); + } + + /** + *
Question: Study staff may ask my doctor or hospital to share information about my health. + * + *
Type: Radiobutton + */ + get canAskMyDoctorAboutMyHealth(): Question { + return new Question(this.page, { cssClassAttribute: '.boolean-answer-MAY_ASK_MY_DOCTOR'}); + } + + /** + *
Question: Later, it might be possible to get the results of the tests on my genes. Please let me know if this becomes possible. + * + *
Type: Radiobutton + */ + get canGetTestResults(): Question { + return new Question(this.page, { cssClassAttribute: '.boolean-answer-GET_THE_RESULT'}); + } + + /** + *
Question: If the researchers learn something about my health issues by testing my genes, please tell my doctor about this. + * + *
Type: Radiobutton + */ + get canTellMyDoctorAboutLearnedResults(): Question { + return new Question(this.page, { cssClassAttribute: '.boolean-answer-RESEARCHERS_LEARN_SOMETHING'}); + } + + /** + *
Question: Signature of Child* + * + *
Type: Input + */ + get signatureOfChild(): Question { + return new Question(this.page, { cssClassAttribute: '.activity-text-input-ASSENT_CHILD_SIGNATURE'}); + } + + /** + *
Question: Date of Birth of Child* + * + *
Type: Date + */ + get dateOfBirthOfChild(): Question { + return new Question(this.page, { cssClassAttribute: '.date-answer-ASSENT_DOB'}); + } + + get signatureOfParent(): Input { + return new Input(this.page, { ddpTestID: 'answer:ASSENT_SIGNATURE_OF_PERSON_EXPLAINING' }); + } + + /** + *
Question: Date* + * + *
Type: Input + */ + get assentDate(): Question { + return new Question(this.page, { cssClassAttribute: '.date-answer-ASSENT_DATE'}); + } +} diff --git a/playwright-e2e/dss/pages/atcp/atcp-consent-page.ts b/playwright-e2e/dss/pages/atcp/atcp-consent-page.ts index 65f716ed0c..154050275a 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-consent-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-consent-page.ts @@ -1,5 +1,4 @@ import { expect, Page } from '@playwright/test'; -import Button from 'dss/component/button'; import Question from 'dss/component/Question'; import { AtcpPageBase } from 'dss/pages/atcp/atcp-page-base'; @@ -65,7 +64,12 @@ export default class AtcpConsentPage extends AtcpPageBase { return new Question(this.page, { prompt: 'DOB of Participant'}); } - get signAndConsent(): Button { - return new Button(this.page, { label: 'Sign & Consent', root: '.activity-buttons' }); + /** + *
Question: DOB of Parent or Legal Guardian + * + *
Type: Date + */ + get parentDoB(): Question { + return new Question(this.page, { prompt: 'DOB of Parent or Legal Guardian'}); } } diff --git a/playwright-e2e/dss/pages/atcp/atcp-contact-physician-page.ts b/playwright-e2e/dss/pages/atcp/atcp-contact-physician-page.ts index c921e9dc5b..480dc8f255 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-contact-physician-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-contact-physician-page.ts @@ -1,5 +1,6 @@ import { expect, Page } from '@playwright/test'; import Input from 'dss/component/input'; +import Question from 'dss/component/Question'; import { AtcpPageBase } from 'dss/pages/atcp/atcp-page-base'; export default class AtcpContactPhysicianPage extends AtcpPageBase { @@ -9,8 +10,7 @@ export default class AtcpContactPhysicianPage extends AtcpPageBase { async waitForReady(): Promise { await super.waitForReady(); - await expect(this.page.locator('app-workflow-progress .current .number')).toHaveText(/^3$/); - await expect(this.page.locator('app-workflow-progress .current .name')).toHaveText('Contacting Physician'); + await expect(this.page.locator('h1.activity-header')).toHaveText(/^Contacting Physician$/); } get physicianFirstName(): Input { @@ -28,4 +28,13 @@ export default class AtcpContactPhysicianPage extends AtcpPageBase { get physicianPhone(): Input { return new Input(this.page, { ddpTestID: 'answer:PHYSICIAN_PHONE' }); } + + /** + *
Question: has been evaluated at (if applicable): + * + *
Type: Checkbox list + */ + get evaluatedInstitution(): Question { + return new Question(this.page, { cssClassAttribute: '.picklist-answer-EVALUATION'}); + } } diff --git a/playwright-e2e/dss/pages/atcp/atcp-dashboard-page.ts b/playwright-e2e/dss/pages/atcp/atcp-dashboard-page.ts index c1558677b5..6bc69487b9 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-dashboard-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-dashboard-page.ts @@ -1,4 +1,5 @@ import { expect, Page } from '@playwright/test'; +import Button from 'dss/component/button'; import Table from 'dss/component/table'; import { AtcpPageBase } from 'dss/pages/atcp/atcp-page-base'; import { waitForNoSpinner } from 'utils/test-utils'; @@ -10,15 +11,22 @@ export default class AtcpDashboardPage extends AtcpPageBase { async waitForReady(): Promise { await super.waitForReady(); - await Promise.all([ - expect(this.page).toHaveURL(/\/dashboard/), - expect(this.page.locator('h1.title')).toHaveText('Thank you for joining the Global A-T Family Data Platform!'), - ]) + await expect(this.page.locator('h1.title')).toHaveText('Thank you for joining the Global A-T Family Data Platform!'); await waitForNoSpinner(this.page); - await this.getTable().waitForReady(); } getTable(): Table { return new Table(this.page, { cssClassAttribute: '.user-activities-table' }); } + + public async addParticipantButton(): Promise { + await new Button(this.page, { label: 'Add a Participant', root: '.participants' }).click(); + await waitForNoSpinner(this.page); + } + + async expandTable(): Promise { + await waitForNoSpinner(this.page); + return this.getTable().headerLocator().waitFor({ state: 'visible', timeout: 5000 }) + .catch(async () => await this.page.locator('.participant-expandable button.participant-expandable__control').click()); + } } diff --git a/playwright-e2e/dss/pages/atcp/atcp-genome-study-page.ts b/playwright-e2e/dss/pages/atcp/atcp-genome-study-page.ts index dfdfc4fadd..c9b18792ed 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-genome-study-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-genome-study-page.ts @@ -9,8 +9,7 @@ export default class AtcpGenomeStudyPage extends AtcpPageBase { async waitForReady(): Promise { await super.waitForReady(); - await expect(this.page.locator('app-workflow-progress .current .number')).toHaveText(/^5$/); - await expect(this.page.locator('app-workflow-progress .current .name')).toHaveText('Genome Study'); + await expect(this.page.locator('h1.activity-header')).toHaveText(/^Genome Study$/); } /** diff --git a/playwright-e2e/dss/pages/atcp/atcp-medical-history-page.ts b/playwright-e2e/dss/pages/atcp/atcp-medical-history-page.ts index c0d88b1a51..dedee00221 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-medical-history-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-medical-history-page.ts @@ -11,8 +11,7 @@ export default class AtcpMedicalHistoryPage extends AtcpPageBase { async waitForReady(): Promise { await super.waitForReady(); - await expect(this.page.locator('app-workflow-progress .current .number')).toHaveText(/^4$/); - await expect(this.page.locator('app-workflow-progress .current .name')).toHaveText('Medical History'); + await expect(this.page.locator('h1.activity-header')).toHaveText(/^Medical History$/); } /** diff --git a/playwright-e2e/dss/pages/atcp/atcp-page-base.ts b/playwright-e2e/dss/pages/atcp/atcp-page-base.ts index c1d2c34f73..2c5aac824e 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-page-base.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-page-base.ts @@ -17,4 +17,12 @@ export abstract class AtcpPageBase extends PageBase { async saveAndSubmit(): Promise { return new Button(this.page, { label: 'Save & Submit', root: '.activity-buttons' }).click(); } + + async signAndConsent(): Promise { + return new Button(this.page, { label: 'Sign & Consent', root: '.activity-buttons' }).click(); + } + + async signAndAssent(): Promise { + return new Button(this.page, { label: 'Sign & Assent', root: '.activity-buttons' }).click(); + } } diff --git a/playwright-e2e/dss/pages/atcp/atcp-review-submission-page.ts b/playwright-e2e/dss/pages/atcp/atcp-review-submission-page.ts index 40bf4acb28..5f7ce38880 100644 --- a/playwright-e2e/dss/pages/atcp/atcp-review-submission-page.ts +++ b/playwright-e2e/dss/pages/atcp/atcp-review-submission-page.ts @@ -9,8 +9,7 @@ export default class AtcpReviewSubmissionPage extends AtcpPageBase { async waitForReady(): Promise { await super.waitForReady(); - await expect(this.page.locator('app-workflow-progress .current .number')).toHaveText(/^6$/); - await expect(this.page.locator('app-workflow-progress .current .name')).toHaveText('Review & Submission'); + await expect(this.page.locator('h1.activity-header')).toHaveText(/^Review & Submission$/); } async saveAndSubmitEnrollment(): Promise { diff --git a/playwright-e2e/dss/pages/family-history.ts b/playwright-e2e/dss/pages/family-history.ts index a027b81bd3..b6163a9fef 100644 --- a/playwright-e2e/dss/pages/family-history.ts +++ b/playwright-e2e/dss/pages/family-history.ts @@ -1,6 +1,6 @@ import { Page } from '@playwright/test'; import Question from 'dss/component/Question'; -import { booleanToYesOrNo } from 'utils/test-utils'; +import { booleanToYesOrNo, waitForResponse } from 'utils/test-utils'; import { CancerSelector } from 'dss/pages/cancer-selector'; import { BrainBasePage } from 'dss/pages/brain/brain-base-page'; @@ -138,7 +138,9 @@ export class FamilyHistory extends BrainBasePage { .selectOption({ label: p.sexAtBirth }); } - await this.page.getByRole('button', { name: 'Save' }).click(); - await this.page.waitForResponse((resp) => resp.url().includes('/summary') && resp.status() === 200); + await Promise.all([ + waitForResponse(this.page, { uri: '/summary' }), + this.page.getByRole('button', { name: 'Save' }).click(), + ]); } } diff --git a/playwright-e2e/dss/pages/mbc/mbc-follow-up-survey-1.ts b/playwright-e2e/dss/pages/mbc/mbc-follow-up-survey-1.ts index 1ebbcb9994..3620435b92 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-follow-up-survey-1.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-follow-up-survey-1.ts @@ -1,7 +1,7 @@ import {MBCPageBase} from './mbc-page-base'; import {expect, Locator, Page} from '@playwright/test'; import {waitForNoSpinner} from 'utils/test-utils'; -import Question from '../../component/Question'; +import Question from 'dss/component/Question'; type yesNoDontKnow = 'Yes' | 'No' | "I don't know"; @@ -87,8 +87,6 @@ export class MBCFollowUpSurvey1 extends MBCPageBase { /* Helper functions */ private async currentMedicationAnswer(opts: MedicationDetails): Promise { - await this.page.waitForLoadState('networkidle'); - if (opts?.medication) { const medication = new Question(this.page, {cssClassAttribute: '.composite-answer-CURRENT_MED_LIST'}); await medication.toInput().fill(opts.medication); diff --git a/playwright-e2e/dss/pages/mbc/mbc-home-page.ts b/playwright-e2e/dss/pages/mbc/mbc-home-page.ts index ffc0a57a5b..ec237a3a3f 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-home-page.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-home-page.ts @@ -1,7 +1,7 @@ import {MBCPageBase} from './mbc-page-base'; import {expect, Locator, Page} from '@playwright/test'; -import {waitForNoSpinner} from '../../../utils/test-utils'; -import * as auth from '../../../authentication/auth-lms'; +import {waitForNoSpinner} from 'utils/test-utils'; +import * as auth from 'authentication/auth-lms'; export class MBCHomePage extends MBCPageBase { countMeInButton: Locator; diff --git a/playwright-e2e/dss/pages/mbc/mbc-join-page.ts b/playwright-e2e/dss/pages/mbc/mbc-join-page.ts index f381888f73..039058d5ac 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-join-page.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-join-page.ts @@ -1,6 +1,6 @@ import {MBCPageBase} from './mbc-page-base'; import {Locator, Page} from '@playwright/test'; -import Question from '../../component/Question'; +import Question from 'dss/component/Question'; export class MBCJoinPage extends MBCPageBase { readonly pageTitle: Locator; diff --git a/playwright-e2e/dss/pages/mbc/mbc-medical-release-page.ts b/playwright-e2e/dss/pages/mbc/mbc-medical-release-page.ts index 0d16c450a8..b012d4b921 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-medical-release-page.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-medical-release-page.ts @@ -1,8 +1,8 @@ import {expect, Locator, Page} from '@playwright/test'; import {MBCPageBase} from './mbc-page-base'; -import {waitForNoSpinner} from '../../../utils/test-utils'; -import * as user from '../../../data/fake-user.json'; -import Institution from '../../component/institution'; +import {waitForNoSpinner} from 'utils/test-utils'; +import * as user from 'data/fake-user.json'; +import Institution from 'dss/component/institution'; export class MBCMedicalReleasePage extends MBCPageBase { diff --git a/playwright-e2e/dss/pages/mbc/mbc-page-base.ts b/playwright-e2e/dss/pages/mbc/mbc-page-base.ts index b42b0028fa..e58f6cc0d6 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-page-base.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-page-base.ts @@ -1,4 +1,4 @@ -import PageBase from '../page-base'; +import PageBase from 'dss/pages/page-base'; import {Page} from '@playwright/test'; export class MBCPageBase extends PageBase { diff --git a/playwright-e2e/dss/pages/mbc/mbc-research-consent-page.ts b/playwright-e2e/dss/pages/mbc/mbc-research-consent-page.ts index 67a3679a66..450b6278c7 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-research-consent-page.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-research-consent-page.ts @@ -1,6 +1,6 @@ import {MBCPageBase} from './mbc-page-base'; import {expect, Locator, Page} from '@playwright/test'; -import Question from '../../component/Question'; +import Question from 'dss/component/Question'; type yesNo = 'Yes' | 'No'; diff --git a/playwright-e2e/dss/pages/mbc/mbc-survey-about-page.ts b/playwright-e2e/dss/pages/mbc/mbc-survey-about-page.ts index 1df058e150..e0fa462ccf 100644 --- a/playwright-e2e/dss/pages/mbc/mbc-survey-about-page.ts +++ b/playwright-e2e/dss/pages/mbc/mbc-survey-about-page.ts @@ -1,7 +1,7 @@ import {expect, Locator, Page} from '@playwright/test'; -import {MBCPatientsData as PatientsData, TypePatient} from '../mbc/mbc-patient-type'; -import {waitForNoSpinner} from '../../../utils/test-utils'; -import Question from '../../component/Question'; +import {MBCPatientsData as PatientsData, TypePatient} from 'dss/pages/mbc/mbc-patient-type'; +import {waitForNoSpinner} from 'utils/test-utils'; +import Question from 'dss/component/Question'; import {MBCPageBase} from './mbc-page-base'; enum CancerTypeQuestionText { diff --git a/playwright-e2e/dss/pages/osteo/home-page.ts b/playwright-e2e/dss/pages/osteo/home-page.ts index dbf8bba89c..a08e553e5e 100644 --- a/playwright-e2e/dss/pages/osteo/home-page.ts +++ b/playwright-e2e/dss/pages/osteo/home-page.ts @@ -12,7 +12,7 @@ export default class HomePage extends OsteoPageBase { async waitForReady(): Promise { await expect(this.pageTitle).toBeVisible(); - await expect(this.pageTitle).toHaveText('Together, the osteosarcoma community has the power to move research forward'); + await expect(this.pageTitle).toContainText(/Together, the osteosarcoma community has the power to move research forward/); await waitForNoSpinner(this.page); } diff --git a/playwright-e2e/dss/pages/page-base.ts b/playwright-e2e/dss/pages/page-base.ts index fe5cb4cf75..bfd6563522 100644 --- a/playwright-e2e/dss/pages/page-base.ts +++ b/playwright-e2e/dss/pages/page-base.ts @@ -8,6 +8,7 @@ import { generateRandomPhoneNum } from 'utils/faker-utils'; import { waitForNoSpinner, waitForResponse } from 'utils/test-utils'; import { PageInterface } from 'dss/pages/page-interface'; import * as user from 'data/fake-user.json'; +import { logError } from 'utils/log-utils'; /** * Labels for the mailing address widget, which can be @@ -44,7 +45,7 @@ export default abstract class PageBase implements PageInterface { } async waitForReady(): Promise { - await this.page.waitForLoadState('networkidle'); + await this.page.waitForLoadState().catch((err) => logError(err)); await expect(this.page).toHaveTitle(/\D+/); await waitForNoSpinner(this.page); } @@ -67,7 +68,11 @@ export default abstract class PageBase implements PageInterface { * Returns "Log Out" button locator */ getLogOutButton(): Locator { - return this.page.locator('.header button[data-ddp-test="signOutButton"]:has-text("Log Out")'); + return this.page.locator('button[data-ddp-test="signOutButton"]').first(); + } + + async signOut(): Promise { + return this.getLogOutButton().click(); } getFinishButton(): Locator { @@ -233,7 +238,9 @@ export default abstract class PageBase implements PageInterface { } = opts; let labels; - if (!opts.labels) { + if (opts.labels) { + labels = opts.labels; + } else { labels = { phone: 'Phone', country: 'Country', @@ -241,8 +248,6 @@ export default abstract class PageBase implements PageInterface { zip: 'Zip Code', city: 'City' }; - } else { - labels = opts.labels; } const mailAddressForm = new Address(this.page, { @@ -285,8 +290,7 @@ export default abstract class PageBase implements PageInterface { resp.request().postDataJSON().zip === zipCode.toUpperCase() ); }), - this.page.waitForResponse((resp) => resp.request().method() === 'POST' && resp.url().includes('/address/verify') && resp.status() === 200, - { timeout: 30 * 1000 }) + this.page.waitForResponse((resp) => resp.request().method() === 'POST' && resp.url().includes('/address/verify') && resp.status() === 200) ]); await mailAddressForm.toInput(labels.phone).fill(telephone.toString()); // Wait for Address Suggestion card @@ -421,4 +425,20 @@ export default abstract class PageBase implements PageInterface { const [MM, DD, YYYY] = dateString.split('/'); return `${MM.trim()}/${DD.trim()}/${YYYY.trim()}`; } + + /** + *
Question: I am a Parent or Legal Guardian of: + *
Type: Input + */ + parentOrLegalGuardianOf(): Question { + return new Question(this.page, { prompt: 'I am a Parent or Legal Guardian of:' }); + } + + /** + *
Question: My relationship to the participant is: + *
Type: Input + */ + myRelationshipToParticipant(): Question { + return new Question(this.page, { prompt: 'My relationship to the participant is:' }); + } } diff --git a/playwright-e2e/dss/pages/pancan/home-page.ts b/playwright-e2e/dss/pages/pancan/home-page.ts index e0edca25f4..9dee26396e 100644 --- a/playwright-e2e/dss/pages/pancan/home-page.ts +++ b/playwright-e2e/dss/pages/pancan/home-page.ts @@ -43,7 +43,7 @@ export default class HomePage extends PancanPageBase implements HomePageInterfac const [response] = await Promise.all([ this.page.waitForResponse(response => response.url().includes('/v1/mailing-list') && response.request().method() === 'POST' - && response.status() === 204, { timeout: 50 * 1000 }), + && response.status() === 204), this.page.getByRole('button', { name: 'JOIN' }).click() ]); } diff --git a/playwright-e2e/dss/pages/singular/enrollment/about-me-page.ts b/playwright-e2e/dss/pages/singular/enrollment/about-me-page.ts index ac61065ab5..66e6fa7eb1 100644 --- a/playwright-e2e/dss/pages/singular/enrollment/about-me-page.ts +++ b/playwright-e2e/dss/pages/singular/enrollment/about-me-page.ts @@ -1,8 +1,6 @@ import { Locator, Page } from '@playwright/test'; import { SingularPage } from 'dss/pages/singular/singular-page'; -import Question from 'dss/component/Question'; import TextInput from 'dss/component/input'; -import Checkbox from 'dss/component/checkbox'; export default class AboutMePage extends SingularPage { constructor(page: Page) { diff --git a/playwright-e2e/dss/pages/singular/enrollment/pre-screening-page.ts b/playwright-e2e/dss/pages/singular/enrollment/pre-screening-page.ts index 238b6e821f..0ca0047f58 100644 --- a/playwright-e2e/dss/pages/singular/enrollment/pre-screening-page.ts +++ b/playwright-e2e/dss/pages/singular/enrollment/pre-screening-page.ts @@ -20,7 +20,7 @@ export default class PreScreeningPage extends SingularPage { async signMeUp(opts: { waitForNav?: boolean } = {}): Promise { const { waitForNav = false } = opts; const navigationPromise = waitForNav ? this.page.waitForNavigation() : Promise.resolve(); - await Promise.all([navigationPromise, await this.getSignUpButton().click()]); + await Promise.all([navigationPromise, this.getSignUpButton().click()]); } /** diff --git a/playwright-e2e/fixtures/angio-fixture.ts b/playwright-e2e/fixtures/angio-fixture.ts index 1f88b672bb..bade483690 100644 --- a/playwright-e2e/fixtures/angio-fixture.ts +++ b/playwright-e2e/fixtures/angio-fixture.ts @@ -6,7 +6,7 @@ const { ANGIO_BASE_URL } = process.env; // Use this fixture in Angio test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${ANGIO_BASE_URL}/password`); + await page.goto(`${ANGIO_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/fixtures/atcp-fixture.ts b/playwright-e2e/fixtures/atcp-fixture.ts index fb39be9863..80c022a102 100644 --- a/playwright-e2e/fixtures/atcp-fixture.ts +++ b/playwright-e2e/fixtures/atcp-fixture.ts @@ -6,7 +6,7 @@ const { ATCP_BASE_URL } = process.env; // Use this fixture in ATCP test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${ATCP_BASE_URL}/password`); + await page.goto(`${ATCP_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/fixtures/fixture-base.ts b/playwright-e2e/fixtures/fixture-base.ts index 3540d991ef..7bc1e6a48f 100644 --- a/playwright-e2e/fixtures/fixture-base.ts +++ b/playwright-e2e/fixtures/fixture-base.ts @@ -15,7 +15,7 @@ const REQUEST_EXCLUDES = ['google-analytics', 'facebook']; // This fixture runs per test when called. export const fixtureBase = base.extend({ page: async ({ page }, use) => { - await page.route('**/*', (route) => { + await page.route('**/*', async (route) => { return REQUEST_EXCLUDES.some((urlPart) => route.request().url().includes(urlPart)) ? route.abort() : route.continue(); }); await use(page); diff --git a/playwright-e2e/fixtures/global-setup.ts b/playwright-e2e/fixtures/global-setup.ts index d90b3b5693..54bb5f2a44 100644 --- a/playwright-e2e/fixtures/global-setup.ts +++ b/playwright-e2e/fixtures/global-setup.ts @@ -6,7 +6,7 @@ import path from 'path'; * See https://playwright.dev/docs/test-advanced#global-setup-and-teardown * @param config */ -async function globalSetup(config: FullConfig) { +function globalSetup(config: FullConfig) { // setting environment variables to make data available to all tests. process.env.ROOT_DIR = path.resolve(__dirname, '../'); } diff --git a/playwright-e2e/fixtures/lms-fixture.ts b/playwright-e2e/fixtures/lms-fixture.ts index 2c4f31723e..775bc31d6d 100644 --- a/playwright-e2e/fixtures/lms-fixture.ts +++ b/playwright-e2e/fixtures/lms-fixture.ts @@ -6,7 +6,7 @@ const { LMS_BASE_URL } = process.env; // Use this fixture in LMS test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${LMS_BASE_URL}/password`); + await page.goto(`${LMS_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/fixtures/osteo-fixture.ts b/playwright-e2e/fixtures/osteo-fixture.ts index a214939e53..b9b757cdc2 100644 --- a/playwright-e2e/fixtures/osteo-fixture.ts +++ b/playwright-e2e/fixtures/osteo-fixture.ts @@ -6,7 +6,7 @@ const { OSTEO_BASE_URL } = process.env; // Use this fixture in Osteo test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${OSTEO_BASE_URL}/password`); + await page.goto(`${OSTEO_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/fixtures/pancan-fixture.ts b/playwright-e2e/fixtures/pancan-fixture.ts index cade02c503..eaea1e0688 100644 --- a/playwright-e2e/fixtures/pancan-fixture.ts +++ b/playwright-e2e/fixtures/pancan-fixture.ts @@ -6,7 +6,7 @@ const { PANCAN_BASE_URL } = process.env; // Use this fixture in Pancan test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${PANCAN_BASE_URL}/password`); + await page.goto(`${PANCAN_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/fixtures/rgp-fixture.ts b/playwright-e2e/fixtures/rgp-fixture.ts index 7465ef200e..c2b0513324 100644 --- a/playwright-e2e/fixtures/rgp-fixture.ts +++ b/playwright-e2e/fixtures/rgp-fixture.ts @@ -6,7 +6,7 @@ const { RGP_BASE_URL } = process.env; // Use this fixture in RGP test const fixture = base.extend({ page: async ({ page }, use) => { - await page.goto(`${RGP_BASE_URL}/password`); + await page.goto(`${RGP_BASE_URL}/password`, { waitUntil: 'networkidle' }); await fillSitePassword(page); await use(page); } diff --git a/playwright-e2e/lib/component/dsm/paginators/kitsPaginator.ts b/playwright-e2e/lib/component/dsm/paginators/kitsPaginator.ts index a49ccde398..f237c3df0f 100644 --- a/playwright-e2e/lib/component/dsm/paginators/kitsPaginator.ts +++ b/playwright-e2e/lib/component/dsm/paginators/kitsPaginator.ts @@ -7,7 +7,7 @@ export class KitsPaginator { public async pageAt(page: number): Promise { const paginatorLocator = this.page.locator(this.pageXPath(page)); - await expect(paginatorLocator, `The page number - ${page} is not visible`).toBeVisible() + await expect(paginatorLocator, `The page number - ${page} is not visible`).toBeVisible(); return paginatorLocator.click(); } diff --git a/playwright-e2e/lib/component/dsm/paginators/participantsListPaginator.ts b/playwright-e2e/lib/component/dsm/paginators/participantsListPaginator.ts index 60b39b7d99..3236badf96 100644 --- a/playwright-e2e/lib/component/dsm/paginators/participantsListPaginator.ts +++ b/playwright-e2e/lib/component/dsm/paginators/participantsListPaginator.ts @@ -20,6 +20,16 @@ export class ParticipantsListPaginator { await this.paginate(this.nextXPath); } + public async hasNext(): Promise { + const nextLocator = this.page.locator(this.nextXPath); + const isvisible = await nextLocator.isVisible(); + const isDisabled = isvisible ? (await nextLocator.getAttribute('class'))?.includes('disabled') : true; + if (isDisabled) { + return false; + } + return true; + } + public async previous(): Promise { await this.paginate(this.previousXPath); } @@ -27,10 +37,11 @@ export class ParticipantsListPaginator { private async paginate(xpath: string): Promise { const paginatorLocator = this.page.locator(xpath); const isDisabled = (await paginatorLocator.getAttribute('class'))?.includes('disabled'); - if (!isDisabled) { - await paginatorLocator.click(); - await this.waitForReady(); + if (isDisabled) { + throw new Error('Table "Next Page" link is disabled.'); } + await paginatorLocator.click(); + await this.waitForReady(); } private async paginateAt(page: number): Promise { diff --git a/playwright-e2e/package-lock.json b/playwright-e2e/package-lock.json index 5c65d75738..4201d38c3e 100644 --- a/playwright-e2e/package-lock.json +++ b/playwright-e2e/package-lock.json @@ -12,6 +12,7 @@ "@googleapis/gmail": "^1.1.1", "@types/lodash": "^4.14.191", "@types/node": "^18.14.2", + "@types/pdf-parse": "^1.1.1", "axios": "^1.3.4", "cross-env": "^7.0.3", "dotenv": "^16.1.4", @@ -19,11 +20,13 @@ "lodash": "^4.17.21", "mailparser": "^3.6.3", "node-vault": "^0.9.22", + "pdf-lib": "^1.17.1", + "pdf-parse": "^1.1.1", "typescript": "^4.9.5" }, "devDependencies": { "@faker-js/faker": "^7.6.0", - "@playwright/test": "^1.35.0", + "@playwright/test": "^1.38.0", "@types/file-saver": "^2.0.5", "@types/mailparser": "^3.4.0", "@types/uuid": "^8.3.4", @@ -173,23 +176,35 @@ "node": ">= 8" } }, + "node_modules/@pdf-lib/standard-fonts": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@pdf-lib/standard-fonts/-/standard-fonts-1.0.0.tgz", + "integrity": "sha512-hU30BK9IUN/su0Mn9VdlVKsWBS6GyhVfqjwl1FjZN4TxP6cCw0jP2w7V3Hf5uX7M0AZJ16vey9yE0ny7Sa59ZA==", + "dependencies": { + "pako": "^1.0.6" + } + }, + "node_modules/@pdf-lib/upng": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@pdf-lib/upng/-/upng-1.0.1.tgz", + "integrity": "sha512-dQK2FUMQtowVP00mtIksrlZhdFXQZPC+taih1q4CvPZ5vqdxR/LKBaFg0oAfzd1GlHZXXSPdQfzQnt+ViGvEIQ==", + "dependencies": { + "pako": "^1.0.10" + } + }, "node_modules/@playwright/test": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.35.0.tgz", - "integrity": "sha512-6qXdd5edCBynOwsz1YcNfgX8tNWeuS9fxy5o59D0rvHXxRtjXRebB4gE4vFVfEMXl/z8zTnAzfOs7aQDEs8G4Q==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.38.0.tgz", + "integrity": "sha512-xis/RXXsLxwThKnlIXouxmIvvT3zvQj1JE39GsNieMUrMpb3/GySHDh2j8itCG22qKVD4MYLBp7xB73cUW/UUw==", "dev": true, "dependencies": { - "@types/node": "*", - "playwright-core": "1.35.0" + "playwright": "1.38.0" }, "bin": { "playwright": "cli.js" }, "engines": { "node": ">=16" - }, - "optionalDependencies": { - "fsevents": "2.3.2" } }, "node_modules/@selderee/plugin-htmlparser2": { @@ -242,6 +257,11 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.2.tgz", "integrity": "sha512-1uEQxww3DaghA0RxqHx0O0ppVlo43pJhepY51OxuQIKHpjbnYLA7vcdwioNPzIqmC2u3I/dmylcqjlh0e7AyUA==" }, + "node_modules/@types/pdf-parse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/pdf-parse/-/pdf-parse-1.1.1.tgz", + "integrity": "sha512-lDBKAslCwvfK2uvS1Uk+UCpGvw+JRy5vnBFANPKFSY92n/iEnunXi0KVBjPJXhsM4jtdcPnS7tuZ0zjA9x6piQ==" + }, "node_modules/@types/semver": { "version": "7.3.13", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", @@ -2739,6 +2759,11 @@ "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", "dev": true }, + "node_modules/node-ensure": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/node-ensure/-/node-ensure-0.0.0.tgz", + "integrity": "sha512-DRI60hzo2oKN1ma0ckc6nQWlHU69RH6xN0sjQTjMpChPfTYvKZdcQFfdYK2RWbJcKyUizSIy/l8OTGxMAM1QDw==" + }, "node_modules/node-fetch": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", @@ -2930,6 +2955,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -2995,6 +3025,37 @@ "node": ">=8" } }, + "node_modules/pdf-lib": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/pdf-lib/-/pdf-lib-1.17.1.tgz", + "integrity": "sha512-V/mpyJAoTsN4cnP31vc0wfNA1+p20evqqnap0KLoRUN0Yk/p3wN52DOEsL4oBFcLdb76hlpKPtzJIgo67j/XLw==", + "dependencies": { + "@pdf-lib/standard-fonts": "^1.0.0", + "@pdf-lib/upng": "^1.0.1", + "pako": "^1.0.11", + "tslib": "^1.11.1" + } + }, + "node_modules/pdf-parse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pdf-parse/-/pdf-parse-1.1.1.tgz", + "integrity": "sha512-v6ZJ/efsBpGrGGknjtq9J/oC8tZWq0KWL5vQrk2GlzLEQPUDB1ex+13Rmidl1neNN358Jn9EHZw5y07FFtaC7A==", + "dependencies": { + "debug": "^3.1.0", + "node-ensure": "^0.0.0" + }, + "engines": { + "node": ">=6.8.1" + } + }, + "node_modules/pdf-parse/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, "node_modules/peberminta": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/peberminta/-/peberminta-0.8.0.tgz", @@ -3020,10 +3081,28 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/playwright": { + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.38.0.tgz", + "integrity": "sha512-fJGw+HO0YY+fU/F1N57DMO+TmXHTrmr905J05zwAQE9xkuwP/QLDk63rVhmyxh03dYnEhnRbsdbH9B0UVVRB3A==", + "dev": true, + "dependencies": { + "playwright-core": "1.38.0" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=16" + }, + "optionalDependencies": { + "fsevents": "2.3.2" + } + }, "node_modules/playwright-core": { - "version": "1.35.0", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.35.0.tgz", - "integrity": "sha512-muMXyPmIx/2DPrCHOD1H1ePT01o7OdKxKj2ebmCAYvqhUy+Y1bpal7B0rdoxros7YrXI294JT/DWw2LqyiqTPA==", + "version": "1.38.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.38.0.tgz", + "integrity": "sha512-f8z1y8J9zvmHoEhKgspmCvOExF2XdcxMW8jNRuX4vkQFrzV4MlZ55iwb5QeyiFQgOFCUolXiRHgpjSEnqvO48g==", "dev": true, "bin": { "playwright-core": "cli.js" @@ -3570,8 +3649,7 @@ "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/tsutils": { "version": "3.21.0", diff --git a/playwright-e2e/package.json b/playwright-e2e/package.json index d3691c7b3c..004e851197 100644 --- a/playwright-e2e/package.json +++ b/playwright-e2e/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@faker-js/faker": "^7.6.0", - "@playwright/test": "^1.35.0", + "@playwright/test": "^1.38.0", "@types/file-saver": "^2.0.5", "@types/mailparser": "^3.4.0", "@types/uuid": "^8.3.4", @@ -32,6 +32,7 @@ "@googleapis/gmail": "^1.1.1", "@types/lodash": "^4.14.191", "@types/node": "^18.14.2", + "@types/pdf-parse": "^1.1.1", "axios": "^1.3.4", "cross-env": "^7.0.3", "dotenv": "^16.1.4", @@ -39,6 +40,8 @@ "lodash": "^4.17.21", "mailparser": "^3.6.3", "node-vault": "^0.9.22", + "pdf-lib": "^1.17.1", + "pdf-parse": "^1.1.1", "typescript": "^4.9.5" }, "engines": { diff --git a/playwright-e2e/playwright.config.ts b/playwright-e2e/playwright.config.ts index 1105d28b11..208d4dd5ec 100644 --- a/playwright-e2e/playwright.config.ts +++ b/playwright-e2e/playwright.config.ts @@ -17,7 +17,7 @@ const testConfig: PlaywrightTestConfig = { testDir: __dirname, testMatch: '**/*.spec.ts', /* Maximum timeout per test. Each test should be short and takes less than 4 min to run */ - timeout: 240 * 1000, + timeout: 4 * 60 * 1000, /* For expect() calls */ expect: { /** @@ -33,7 +33,8 @@ const testConfig: PlaywrightTestConfig = { toHaveScreenshot: { scale: 'css', // Account for minor difference in text rendering and resolution between headless and headed mode - threshold: 1 + threshold: 1, + maxDiffPixelRatio: 0.5 } }, /* Run tests in files in parallel */ @@ -41,8 +42,8 @@ const testConfig: PlaywrightTestConfig = { /* Fail the build on CI if you accidentally left test.only in the source code. */ forbidOnly: !!process.env.CI, retries: process.env.CI ? 1 : 0, - workers: process.env.CI ? 2 : 5, - maxFailures: process.env.CI ? 10 : 0, + workers: process.env.CI ? 2 : 4, + maxFailures: 0, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: [ @@ -63,10 +64,20 @@ const testConfig: PlaywrightTestConfig = { /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { + browserName: 'chromium', headless: true, + launchOptions: { + slowMo: 100, + // Account for minor difference in text rendering and resolution between headless and headed mode + ignoreDefaultArgs: ['--hide-scrollbars'] + }, + userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36', + viewport: { width: 1280, height: 960 }, + ignoreHTTPSErrors: true, + /* Maximum time each (browser) action such as `click()` can take. Defaults to 0 (no limit). */ - actionTimeout: process.env.CI ? 20 * 1000 : 15 * 1000, - navigationTimeout: 30 * 1000, + actionTimeout: 50 * 1000, + navigationTimeout: 50 * 1000, acceptDownloads: true, testIdAttribute: 'data-ddp-test', @@ -79,71 +90,30 @@ const testConfig: PlaywrightTestConfig = { mode: 'only-on-failure', fullPage: true }, - video: 'retain-on-failure', // Limit load on CI system because trace and video add load - - userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36', - viewport: { width: 1280, height: 960 }, - ignoreHTTPSErrors: true - // launchOptions: { - // ignoreDefaultArgs: ['--hide-scrollbars'], - // }, + video: 'retain-on-failure', }, - /* Configure projects for major browsers */ + /* Configure projects for chromium browser */ projects: [ { - name: 'chromium', - // testMatch: '**/*.spec.ts', - grepInvert: /examples/, - use: { - browserName: 'chromium', - launchOptions: { - slowMo: 100, - // Account for minor difference in text rendering and resolution between headless and headed mode - ignoreDefaultArgs: ['--hide-scrollbars'] - } - } + // Listing tests: npx playwright test --list --project="dsm" + // Running tests serially: npx playwright test --project="kit" --workers=1 + name: 'dsm', + testDir: 'tests/dsm', + use: {} + }, + { + name: 'dss', + testDir: 'tests', + testIgnore: ['dsm/**/*.spec.ts'], + use: {} + }, + { + name: 'kit', + testDir: 'tests/dsm/kitUploadFlow', + fullyParallel: false, + use: {} } - // { - // name: 'firefox', - // use: { - // ...devices['Desktop Firefox'], - // }, - // }, - // { - // name: 'webkit', - // use: { - // ...devices['Desktop Safari'], - // }, - // }, - - /* Test against mobile viewports. */ - // { - // name: 'Mobile Chrome', - // use: { - // ...devices['Pixel 5'], - // }, - // }, - // { - // name: 'Mobile Safari', - // use: { - // ...devices['iPhone 12'], - // }, - // }, - - /* Test against branded browsers. */ - // { - // name: 'Microsoft Edge', - // use: { - // channel: 'msedge', - // }, - // }, - // { - // name: 'Google Chrome', - // use: { - // channel: 'chrome', - // }, - // }, ] }; diff --git a/playwright-e2e/tests/angio/adult-self-enrollment.spec.ts b/playwright-e2e/tests/angio/adult-self-enrollment.spec.ts index 3e6e7b8580..e15889b918 100644 --- a/playwright-e2e/tests/angio/adult-self-enrollment.spec.ts +++ b/playwright-e2e/tests/angio/adult-self-enrollment.spec.ts @@ -27,7 +27,7 @@ test.describe('Adult Enrollment', () => { : await expect(page.locator('.WizardSteps').nth(nth)).not.toHaveClass(/active/); }; - test('Join for self @functional @enrollment @angio', async ({ page }) => { + test('Join for self @dss @functional @angio', async ({ page }) => { const homePage = new HomePage(page); await homePage.countMeIn(); @@ -148,14 +148,14 @@ test.describe('Adult Enrollment', () => { statusCell = await dashboardTable.findCell('Form', 'Research Consent Form', 'Status'); expect(statusCell).toBeTruthy(); - await expect((await statusCell?.innerText()) ?? '').toContain('Complete'); + expect((await statusCell?.innerText()) ?? '').toContain('Complete'); statusCell = await dashboardTable.findCell('Form', 'Medical Release Form', 'Status'); expect(statusCell).toBeTruthy(); - await expect((await statusCell?.innerText()) ?? '').toContain('Complete'); + expect((await statusCell?.innerText()) ?? '').toContain('Complete'); const todayDate = new Date().toLocaleDateString('en-US', { day: '2-digit', month: '2-digit', year: 'numeric' }); const createdCell = await dashboardTable.findCell('Form', 'Initial Enrollment Survey', 'Created'); - await expect((await createdCell?.innerText()) ?? 'null').toEqual(todayDate); + expect((await createdCell?.innerText()) ?? 'null').toEqual(todayDate); }); }); diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts index 90b8623377..64e62f3fdd 100644 --- a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts +++ b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts @@ -7,6 +7,7 @@ import AtcpDashboardPage from 'dss/pages/atcp/atcp-dashboard-page'; import AtcpGenomeStudyPage from 'dss/pages/atcp/atcp-genome-study-page'; import AtcpHomePage from 'dss/pages/atcp/atcp-home-page'; import AtcpMedicalHistoryPage from 'dss/pages/atcp/atcp-medical-history-page'; +import AtcpRegistrationPage from 'dss/pages/atcp/atcp-registration-page'; import AtcpReviewSubmissionPage from 'dss/pages/atcp/atcp-review-submission-page'; import { test } from 'fixtures/atcp-fixture'; import * as auth from 'authentication/auth-atcp'; @@ -21,7 +22,7 @@ test.describe('ATCP adult self-consent enrollment', () => { await expect(page.locator('.activity-steps .active p')).toHaveText(expectedText); }; - test('Welcome page @enrollment @atcp @visual', async ({ page }) => { + test('Welcome page @dss @atcp @visual', async ({ page }) => { const homePage = new AtcpHomePage(page); await homePage.waitForReady(); @@ -36,7 +37,7 @@ test.describe('ATCP adult self-consent enrollment', () => { } }); - test('Should be able to complete self-enrollment @enrollment @atcp @visual', async ({ page }) => { + test('Should be able to complete self-enrollment @dss @atcp @visual', async ({ page }) => { const adult = user.adult; const adultFirstName = generateUserName(adult.firstName); const adultLastName = generateUserName(adult.lastName); @@ -66,8 +67,10 @@ test.describe('ATCP adult self-consent enrollment', () => { // Send Auth0 API to verify user email await setAuth0UserEmailVerified(APP.AT, userEmail, { isEmailVerified: true }); + await auth.login(page, { email: userEmail }); - const registrationPage = await auth.login(page, { email: userEmail }); + const registrationPage = new AtcpRegistrationPage(page); + await registrationPage.waitForReady(); await expect(registrationPage.participantFirstName.toInput().toLocator()).toHaveValue(adultFirstName); await expect(registrationPage.participantLastName.toInput().toLocator()).toHaveValue(adultLastName); @@ -152,7 +155,7 @@ test.describe('ATCP adult self-consent enrollment', () => { await expect(page.locator('ddp-activity-content')).toHaveScreenshot('atcp-consent-form-step-8.png'); await consentPage.signature().fill(adultFullName); await consentPage.participantDOB.fill(dob); - await consentPage.signAndConsent.click(); + await consentPage.signAndConsent(); const contactPhysicianPage = new AtcpContactPhysicianPage(page); await contactPhysicianPage.waitForReady(); @@ -192,7 +195,7 @@ test.describe('ATCP adult self-consent enrollment', () => { await medicalHistory.physicianHospitalName.fill(doctor.hospital); await medicalHistory.physicianHospitalCity.fill(doctor.city); await medicalHistory.physicianHospitalState.fill(doctor.state); - await medicalHistory.physicianHospitalCountry.fill('USA'); + await medicalHistory.physicianHospitalCountry.fill('USA', { waitForSaveRequest: true }); await medicalHistory.next(); await medicalHistory.haveHistoryOfCancer.check('No'); @@ -278,7 +281,7 @@ test.describe('ATCP adult self-consent enrollment', () => { const expectedHeaders = ['Form', 'Summary', 'Created', 'Status', 'Actions']; const table = dashboardPage.getTable(); const actualHeaders = await table.getHeaderNames(); - await assertTableHeaders(actualHeaders, expectedHeaders); + assertTableHeaders(actualHeaders, expectedHeaders); expect(await table.getRowsCount()).toBe(6); diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png new file mode 100644 index 0000000000..37f65318b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png new file mode 100644 index 0000000000..162ed8c04c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png new file mode 100644 index 0000000000..5d4c75b6b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png new file mode 100644 index 0000000000..8264450762 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png new file mode 100644 index 0000000000..5306872af1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png new file mode 100644 index 0000000000..48c67251bc Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png new file mode 100644 index 0000000000..5f5dd3c8b4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png new file mode 100644 index 0000000000..2e696bfcf0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png new file mode 100644 index 0000000000..27e78fdd79 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png new file mode 100644 index 0000000000..65d944ab82 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png new file mode 100644 index 0000000000..545c00caf1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png new file mode 100644 index 0000000000..6c47d8bce4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png new file mode 100644 index 0000000000..45c6195547 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png new file mode 100644 index 0000000000..25760df4aa Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png new file mode 100644 index 0000000000..907bc81937 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png new file mode 100644 index 0000000000..bea8a314f7 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png new file mode 100644 index 0000000000..0a9d0d8a01 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png new file mode 100644 index 0000000000..1ed80eea5f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-dashboard-thank-you-message-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-dashboard-thank-you-message-dss-linux.png new file mode 100644 index 0000000000..831add2ac2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-dashboard-thank-you-message-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png new file mode 100644 index 0000000000..93b65ee215 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png new file mode 100644 index 0000000000..9e7f2a478a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png new file mode 100644 index 0000000000..a9baa7a2e0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png new file mode 100644 index 0000000000..ba0a6fa3f1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-header-logo-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-header-logo-dss-linux.png new file mode 100644 index 0000000000..7a22d6dc84 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-header-logo-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-form-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-form-dss-linux.png new file mode 100644 index 0000000000..208b165d5f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-form-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png new file mode 100644 index 0000000000..f092f38310 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png new file mode 100644 index 0000000000..6372c5857c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png new file mode 100644 index 0000000000..c71000560a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-0-dss-linux.png new file mode 100644 index 0000000000..e8da2dd73c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-1-dss-linux.png new file mode 100644 index 0000000000..ea20076139 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-2-dss-linux.png new file mode 100644 index 0000000000..f988e6dbea Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-3-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-3-dss-linux.png new file mode 100644 index 0000000000..303b0d5795 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-step-3-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-1-dss-linux.png new file mode 100644 index 0000000000..f7c88d9cea Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-2-dss-linux.png new file mode 100644 index 0000000000..5c16f0735c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-adult-self-consent-enrollment.spec.ts-snapshots/atcp-welcome-text-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts new file mode 100644 index 0000000000..9033fbd9ce --- /dev/null +++ b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts @@ -0,0 +1,427 @@ +/* eslint-disable max-len */ +import { expect, Page } from '@playwright/test'; +import { APP } from 'data/constants'; +import AtcpAssentForKidsPage from 'dss/pages/atcp/atcp-assent-for-kids-page'; +import AtcpConsentPage from 'dss/pages/atcp/atcp-consent-page'; +import AtcpContactPhysicianPage from 'dss/pages/atcp/atcp-contact-physician-page'; +import AtcpDashboardPage from 'dss/pages/atcp/atcp-dashboard-page'; +import AtcpGenomeStudyPage from 'dss/pages/atcp/atcp-genome-study-page'; +import AtcpHomePage from 'dss/pages/atcp/atcp-home-page'; +import AtcpMedicalHistoryPage from 'dss/pages/atcp/atcp-medical-history-page'; +import AtcpRegistrationPage from 'dss/pages/atcp/atcp-registration-page'; +import AtcpReviewSubmissionPage from 'dss/pages/atcp/atcp-review-submission-page'; +import { test } from 'fixtures/atcp-fixture'; +import * as auth from 'authentication/auth-atcp'; +import * as user from 'data/fake-user.json'; +import { setAuth0UserEmailVerified } from 'utils/api-utils'; +import { assertTableHeaders } from 'utils/assertion-helper'; +import { getDate } from 'utils/date-utils'; +import { generateUserName } from 'utils/faker-utils'; +import { logParticipantCreated } from 'utils/log-utils'; + +test.describe('ATCP parent consent enrollment', () => { + const assertWorkflowInProgressStep = async (page: Page, textSubstring: string | RegExp) => { + await expect(page.locator('.workflow-progress .in-progress')).toContainText(textSubstring); + }; + + const assertActivityStep = async (page: Page, expectedText: string) => { + await expect(page.locator('.activity-steps .active p')).toHaveText(expectedText); + }; + + test('Parent assent for a child @dss @atcp @visual', async ({ page }) => { + let userEmail: string; + + const adult = user.adult; + const adultFirstName = generateUserName(adult.firstName); + const adultLastName = generateUserName(adult.lastName); + const adultFullName = `${adultFirstName} ${adultLastName}`; + const adultDoB = `${adult.birthDate.MM}/${adult.birthDate.DD}/${adult.birthDate.YYYY}`; + + const child = user.child; + const childFirstName = generateUserName(child.firstName); + const childLastName = generateUserName(child.lastName); + const childFullName = `${childFirstName} ${childLastName}`; + const childDoB = `${child.birthDate.MM}/${child.birthDate.DD}/${child.birthDate.YYYY}`; + + const doctor = child.doctor; + + await test.step('Register a new account', async () => { + const homePage = new AtcpHomePage(page); + await homePage.waitForReady(); + + const joinUsPage = await homePage.joinUs(); + await joinUsPage.fillInName(adultFirstName, adultLastName, + { firstNameTestId: 'answer:PREQUAL_FIRST_NAME', lastNameTestId: 'answer:PREQUAL_LAST_NAME' }); + + await joinUsPage.prequalSelfDescribe.toRadiobutton().check("I'm a parent/legal guardian of someone who has A-T"); + await joinUsPage.clickJoinUs(); + + userEmail = await auth.createAccountWithEmailAlias(page, { + email: process.env.ATCP_USER_EMAIL, + password: process.env.ATCP_USER_PASSWORD + }); + logParticipantCreated(userEmail, adultFullName); + + await expect(page.locator('text="Account Activation"')).toBeVisible(); + await expect(page.locator('.activate-account h2.Subtitle')).toHaveText( + `You are almost done! Please check your email: ${userEmail}. An email has been sent there with the guidelines to activate your account.` + ); + + // Send Auth0 request to verify user email + await setAuth0UserEmailVerified(APP.AT, userEmail, { isEmailVerified: true }); + await page.waitForTimeout(2000); // short sleep after set email-verified true + }); + + await test.step("New Participant's Enrollment Process: Log in", async () => { + await auth.login(page, { email: userEmail }); + await expect(page.locator('h1.title')).toHaveScreenshot('atcp-h1-title.png'); + await expect(page.locator('h2.subtitle')).toHaveScreenshot('atcp-thank-you-subtitle.png'); + await expect(page.locator('h2.title')).toHaveScreenshot('atcp-h2-title.png'); + await expect(page.locator('.participant-list')).toHaveScreenshot('atcp-participant-list.png'); + await expect(page.locator('.footer-link')).toHaveScreenshot('atcp-footer-email.png'); + await expect(page.locator('.contacts__entry')).toHaveScreenshot('atcp-contact-phone.png'); + + const dashboardPage = new AtcpDashboardPage(page); + await dashboardPage.addParticipantButton(); + }); + + await test.step("New Participant's Enrollment Process: Registration", async () => { + await assertWorkflowInProgressStep(page, 'Registration'); + + const registrationPage = new AtcpRegistrationPage(page); + await registrationPage.waitForReady(); + await registrationPage.participantFirstName.fill(childFirstName); + await registrationPage.participantLastName.fill(childLastName); + await registrationPage.participantGender.toSelect().selectOption('Male', { exactMatch: true }); + await registrationPage.participantDOB.fill(childDoB); + await registrationPage.participantStreetAddress.fill(child.streetAddress); + await registrationPage.participantCity.fill(child.city); + await registrationPage.participantStreetPostalCode.fill(child.zip); + // Wait for the very long patch requests to finish before select country and state + await expect(registrationPage.register.toLocator()).toBeVisible(); + await registrationPage.fillInCountry(child.country.abbreviation, { state: 'US-MA' }); + await registrationPage.register.click(); + + await expect(registrationPage.agreement.errorMessage()) + .toContainText('You must confirm that this participant was diagnosed with ataxia-telangiectasia before continuing.'); + await registrationPage.agreement.toCheckbox('I have been diagnosed with ataxia-telangiectasia').check(); + await registrationPage.register.click(); + }); + + await test.step("New Participant's Enrollment Process: Consent", async () => { + await assertWorkflowInProgressStep(page, 'Consent'); + + const consentPage = new AtcpConsentPage(page); + await consentPage.waitForReady(); + + await assertActivityStep(page, '1'); + let blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(1); + await expect(page.locator('.ddp-li')).toHaveScreenshot('atcp-consent-form-step-1.png'); + await consentPage.next(); + + await assertActivityStep(page, '2'); + blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(3); + for (let i = 0; i < blocks.length; i++) { + await expect(blocks[i]).toHaveScreenshot(`atcp-consent-form-step-2-block-${i}.png`); + } + await consentPage.next(); + + await assertActivityStep(page, '3'); + blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(3); + for (let i = 0; i < blocks.length; i++) { + await expect(blocks[i]).toHaveScreenshot(`atcp-consent-form-step-3-block-${i}.png`); + } + await consentPage.next(); + + await assertActivityStep(page, '4'); + blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(3); + for (let i = 0; i < blocks.length; i++) { + await expect(blocks[i]).toHaveScreenshot(`atcp-consent-form-step-4-block-${i}.png`); + } + await consentPage.next(); + + await assertActivityStep(page, '5'); + blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(1); + await expect(page.locator('.ddp-li')).toHaveScreenshot('atcp-consent-form-step-5.png'); + await consentPage.next(); + + await assertActivityStep(page, '6'); + blocks = await page.locator('.ddp-li').all(); + expect(blocks.length).toBe(1); + await expect(page.locator('.ddp-li')).toHaveScreenshot('atcp-consent-form-step-6.png'); + await consentPage.next(); + + await assertActivityStep(page, '7'); + + await expect(consentPage.mayContactMeWithFollowupResearchQuestionnaires.toLocator()).toHaveScreenshot('atcp-consent-recontact-followup-question.png'); + await consentPage.mayContactMeWithFollowupResearchQuestionnaires.toRadiobutton().check('Yes'); + + await expect(consentPage.mayPerformDNASequencingOnSalivaSample.toLocator()).toHaveScreenshot('atcp-consent-perform-dna-sequencing-question.png'); + await consentPage.mayPerformDNASequencingOnSalivaSample.toRadiobutton().check('Yes'); + + await expect(consentPage.mayRequestMyMedicalRecords.toLocator()).toHaveScreenshot('atcp-consent-request-medical-records-question.png'); + await consentPage.mayRequestMyMedicalRecords.toRadiobutton().check('Yes'); + + await expect(consentPage.mayContactMeToReturnGeneticResults.toLocator()).toHaveScreenshot('atcp-consent-return-genetics-results-question.png'); + await consentPage.mayContactMeToReturnGeneticResults.toRadiobutton().check('Yes'); + + await expect(consentPage.mayContactMyPhysician.toLocator()).toHaveScreenshot('atcp-consent-contact-physician-question.png'); + await consentPage.mayContactMyPhysician.toRadiobutton().check('Yes'); + await consentPage.next(); + + await assertActivityStep(page, '8'); + await expect(page.locator('ddp-activity-content')).toHaveScreenshot('atcp-consent-form-step-8.png'); + + await consentPage.parentOrLegalGuardianOf().fill(childFullName); + await consentPage.myRelationshipToParticipant().fill('Father'); + await consentPage.signature().fill(adultFullName); + await consentPage.parentDoB.fill(adultDoB); + await consentPage.signAndConsent(); + }); + + await test.step("New Participant's Enrollment Process: Assent for Kids", async () => { + await assertWorkflowInProgressStep(page, 'Assent for Kids'); + + const assentForKidsPage = new AtcpAssentForKidsPage(page); + await assentForKidsPage.waitForReady(); + + const paragraphs = await page.locator('ddp-group-block-list p').all(); + for (const [index, paragraph] of paragraphs.entries()) { + await expect(paragraph).toHaveScreenshot(`atcp-assent-for-kids-step-1-paragraph-${index}.png`) + } + + await assentForKidsPage.next(); + + await expect(page.locator('ddp-group-block-list')).toHaveScreenshot('atcp-assent-for-kids-step-2.png'); + await assentForKidsPage.next(); + + await expect(page.locator('ddp-group-block-list')).toHaveScreenshot('atcp-assent-for-kids-step-3.png'); + await assentForKidsPage.next(); + + await expect(page.locator('ddp-group-block-list')).toHaveScreenshot('atcp-assent-for-kids-step-4.png'); + await assentForKidsPage.next(); + + await expect(page.locator('ddp-group-block-list')).toHaveScreenshot('atcp-assent-for-kids-step-5.png'); + await assentForKidsPage.next(); + + await expect(page.locator('ddp-group-block-list .ddp-li')).toHaveScreenshot('atcp-assent-for-kids-step-6.png'); + await expect(assentForKidsPage.canContactMeLater.toLocator()).toHaveScreenshot('atcp-assent-for-kids-contact-me-later-question.png'); + await expect(assentForKidsPage.canDoTestsOnGenes.toLocator()).toHaveScreenshot('atcp-assent-for-kids-can-do-tests-on-genes-question.png'); + await expect(assentForKidsPage.canAskMyDoctorAboutMyHealth.toLocator()).toHaveScreenshot('atcp-assent-for-kids-ask-doctor-about-my-health-question.png'); + await expect(assentForKidsPage.canGetTestResults.toLocator()).toHaveScreenshot('atcp-assent-for-kids-get-test-results-question.png'); + await expect(assentForKidsPage.canTellMyDoctorAboutLearnedResults.toLocator()).toHaveScreenshot('atcp-assent-for-kids-tell-doctor-about-test-results-question.png'); + + await assentForKidsPage.canContactMeLater.check('Yes'); + await assentForKidsPage.canDoTestsOnGenes.check('Yes'); + await assentForKidsPage.canAskMyDoctorAboutMyHealth.check('Yes'); + await assentForKidsPage.canGetTestResults.check('Yes'); + await assentForKidsPage.canTellMyDoctorAboutLearnedResults.check('Yes'); + await assentForKidsPage.next(); + + await assentForKidsPage.signatureOfChild.fill(childFullName); + await expect(assentForKidsPage.dateOfBirthOfChild.toInput().toLocator()).toHaveValue(childDoB); + await assentForKidsPage.signatureOfParent.fill(adultFullName); + await assentForKidsPage.assentDate.fill(getDate()); + await assentForKidsPage.signAndAssent(); + }); + + await test.step("New Participant's Enrollment Process: Contacting Physician", async () => { + await assertWorkflowInProgressStep(page, 'Contacting Physician'); + + const contactPhysicianPage = new AtcpContactPhysicianPage(page); + await contactPhysicianPage.waitForReady(); + + const address = `${doctor.hospital}, ${doctor.address}`; + await contactPhysicianPage.physicianFirstName.fill(doctor.firstName, { waitForSaveRequest: true }); + await contactPhysicianPage.physicianLastName.fill(doctor.lastName, { waitForSaveRequest: true }); + await contactPhysicianPage.physicianMailingAddress.fill(address, { waitForSaveRequest: true }); + await contactPhysicianPage.physicianPhone.fill(doctor.phone, { waitForSaveRequest: true }); + await contactPhysicianPage.evaluatedInstitution.check('A-T Clinical Center at Johns Hopkins Hospital, Baltimore, MD, USA'); + + await expect(contactPhysicianPage.evaluatedInstitution.toLocator().locator('ddp-activity-checkboxes-picklist-question')).toHaveScreenshot('atcp-medical-institution-list.png'); + await contactPhysicianPage.saveAndSubmit(); + }); + + await test.step("New Participant's Enrollment Process: Medical History", async () => { + await assertWorkflowInProgressStep(page, 'Medical History'); + + const medicalHistory = new AtcpMedicalHistoryPage(page); + await medicalHistory.waitForReady(); + + await expect(page.locator('.ddp-li')).toHaveScreenshot('atcp-medical-history-page.png'); + await medicalHistory.startResume.click(); + + await expect(medicalHistory.hasDiagnosedWithAtaxiaTelangiectasia.toLocator()).toContainText("Note: Selecting 'No' will automatically end this survey."); + await medicalHistory.hasDiagnosedWithAtaxiaTelangiectasia.toRadiobutton().check('Yes'); + await medicalHistory.next(); + + await medicalHistory.diagnosedAgeYear.fill('5'); + await medicalHistory.diagnosedAgeMonth.fill('5'); + await medicalHistory.firstSymptomObservedAge.fill('20'); + await medicalHistory.neurologicProblemFirstSuspectedAge.fill('15'); + // select all that apply + await medicalHistory.howWasDiagnosisDetermined.check('Serum Alpha-Fetoprotein(AFP)'); + await medicalHistory.howWasDiagnosisDetermined.check('Physical Exam / Clinical Findings'); + await medicalHistory.howWasDiagnosisDetermined.check('Spontaneous Chromosome Breakage Analysis'); + await medicalHistory.howWasDiagnosisDetermined.check('Functional ATM Kinase Assay'); + await medicalHistory.howWasDiagnosisDetermined.check('Imaging - CT'); + await medicalHistory.howWasDiagnosisDetermined.check('Imaging - MRI'); + await medicalHistory.howWasDiagnosisDetermined.check('Imaging - PET'); + await medicalHistory.next(); + + await medicalHistory.ATMMutations.fill('Stomach cancer'); + await medicalHistory.physicianMadeDiagnosis.fill(doctor.fullName); + await medicalHistory.physicianPhone.fill(doctor.phone); + await medicalHistory.physicianHospitalName.fill(doctor.hospital); + await medicalHistory.physicianHospitalCity.fill(doctor.city); + await medicalHistory.physicianHospitalState.fill(doctor.state); + await medicalHistory.physicianHospitalCountry.fill('USA'); + await medicalHistory.next(); + + await medicalHistory.haveHistoryOfCancer.check('No'); + await medicalHistory.next(); + + await medicalHistory.descriptionOfAbilityToWalk.check('Walks independently', { exactMatch: true }); + await medicalHistory.next(); + + await medicalHistory.symptomsOrConditionsAssociatedWithAT.check('Ataxic gait'); + await medicalHistory.symptomsOrConditionsAssociatedWithAT.check('Fatigue'); + await medicalHistory.symptomsOrConditionsAssociatedWithAT.check('Diabetes'); + + await medicalHistory.telangiectasia.check('Telangiectasia - skin'); + await medicalHistory.frequentInfections.check('Frequent infections - sinus'); + await medicalHistory.skinConditions.check('Skin conditions - granulomas'); + await medicalHistory.next(); + + await medicalHistory.otherSymptomsOrConditions.check('Arthritis'); + await medicalHistory.otherSymptomsOrConditions.check('Asthma'); + await medicalHistory.otherSymptomsOrConditions.check('Osteoporosis'); + await medicalHistory.next(); + + await medicalHistory.hasImmunodeficiency.check('No', { exactMatch: true }); + await medicalHistory.next(); + + await medicalHistory.hasEverAcquiredInfectionFromImmunization.check('No', { exactMatch: true }); + await medicalHistory.surgeries.check('No surgeries'); + await medicalHistory.next(); + + // antibiotics + await medicalHistory.medicationName.fill('Penicillin', { waitForSaveRequest: true }); + await medicalHistory.addAnotherMedication(); + await medicalHistory.medicationName.fill('Tetracycline', { nth: 1, waitForSaveRequest: true }); + await medicalHistory.next(); + + await medicalHistory.takeAnyOverTheCounterNutritionalSupplements.check('No', { exactMatch: true }); + await medicalHistory.areParentsConsanguineous.check('No', { exactMatch: true }); + await medicalHistory.siblingsSex.toSelect().selectOption('Female'); + await medicalHistory.siblingsAge.fill('15'); + await medicalHistory.siblingsATDiagnosis.toSelect().selectOption('No', { exactMatch: true }); + await medicalHistory.siblingsATCarrier.toSelect().selectOption('No', { exactMatch: true }); + await medicalHistory.next(); + + await medicalHistory.hasPreviouslyParticipatedInAnyClinicalDrugTrials.check('No', { exactMatch: true }); + await medicalHistory.isCurrentlyParticipateInAnyClinicalDrugTrials.check('No', { exactMatch: true }); + await medicalHistory.hasPreviouslyDonatedSampleOfBloodTissueOrBiospecimen.check('No', { exactMatch: true }); + await medicalHistory.next(); + + await expect(page.locator('.ddp-li')).toHaveScreenshot('atcp-medical-history-submit-form.png'); + await medicalHistory.submit(); + }); + + await test.step("New Participant's Enrollment Process: Genome Study", async () => { + await assertWorkflowInProgressStep(page, 'Genome Study'); + + const genomeStudyPage = new AtcpGenomeStudyPage(page); + await genomeStudyPage.waitForReady(); + + const contents = await page.locator('.ddp-content').all(); + expect(contents.length).toBe(4); + for (let i = 0; i < contents.length; i++) { + await expect(contents[i]).toHaveScreenshot(`atcp-genome-study-form-content-${i}.png`); + } + + await genomeStudyPage.sendMeSalivaSampleCollectionKit.check(); + await genomeStudyPage.chooseEthnicity.toSelect().selectOption('CAUCASIAN'); + await genomeStudyPage.saveAndSubmit(); + }); + + await test.step("New Participant's Enrollment Process: Review & Submission", async () => { + await assertWorkflowInProgressStep(page, 'Review & Submission'); + + const reviewSubmissionPage = new AtcpReviewSubmissionPage(page); + await reviewSubmissionPage.waitForReady(); + + await expect(page.locator('h1.activity-header')).toHaveText('Review & Submission'); + const blocks = await page.locator('.ddp-content').all(); + expect(blocks.length).toBe(2); + for (let i = 0; i < blocks.length; i++) { + await expect(blocks[i]).toHaveScreenshot(`atcp-review-submission-form-content-${i}.png`); + } + + await reviewSubmissionPage.saveAndSubmitEnrollment(); + }); + + await test.step("New Participant's Enrollment Process: Dashboard Verification", async () => { + const dashboardPage = new AtcpDashboardPage(page); + await dashboardPage.waitForReady(); + + await expect(page.locator('h1.title')).toHaveScreenshot('atcp-dashboard-h1-title.png'); + await expect(page.locator('h2.subtitle')).toHaveScreenshot('atcp-dashboard-h2-subtitle.png'); + await expect(page.locator('h2.title')).toHaveScreenshot('atcp-dashboard-h2-title.png'); + await expect(page.locator('.participant-expandable__name')).toHaveText(childFullName); + + await dashboardPage.expandTable(); + const table = dashboardPage.getTable(); + const expectedHeaders = ['Form', 'Summary', 'Created', 'Status', 'Actions']; + const actualHeaders = await table.getHeaderNames(); + assertTableHeaders(actualHeaders, expectedHeaders); + + expect(await table.getRowsCount()).toBe(7); + + const columnForm = await table.getColumnAllTexts('Form'); + expect(columnForm).toStrictEqual([ + 'Registration', 'Consent', 'Assent for Kids', 'Contacting Physician', 'Medical History', 'Genome Study', 'Review & Submission' + ]); + + const columnStatus = await table.getColumnAllTexts('Status'); + expect(columnStatus).toStrictEqual([ + 'Complete', 'Complete', 'Complete', 'Complete', 'Complete', 'Complete', 'Complete' + ]); + + const columnSummary = await table.getColumnAllTexts('Summary'); + expect(columnSummary).toStrictEqual([ + 'Thank you for signing the registration form.', + 'Thank you for signing the research consent form.', + 'Thank you for signing the research assent form.', + 'Thank you for signing the contacting physician form.', + 'Thank you for signing the Medical History form.', + 'Thank you for signing the Genome Study form.', + 'Review & Submission' + ]); + + const actionsCell = await table.findCell('Form', 'Registration', 'Actions'); + expect(actionsCell).not.toBeNull(); + const viewButton = table.findButtonInCell(actionsCell!, { label: 'View' }); + expect(await viewButton.isVisible()).toBeTruthy(); + const editButton = table.findButtonInCell(actionsCell!, { label: 'Edit' }); + expect(await editButton.isVisible()).toBeTruthy(); + + await dashboardPage.signOut(); + }); + + await test.step('Signed out', async () => { + const homePage = new AtcpHomePage(page); + await homePage.waitForReady(); + + await expect(page.locator('.first-display h1')).toHaveScreenshot('atcp-home-page-h1-message.png'); + await expect(page.locator('.first-display h2')).toHaveScreenshot('atcp-home-page-h2-message.png'); + await expect(page.locator('.participate-display')).toHaveScreenshot('atcp-home-page-how-to-participant-message.png'); + await expect(page.locator('.together-display h3')).toHaveScreenshot('atcp-home-page-together-message.png'); + }); + }); +}); diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png new file mode 100644 index 0000000000..9a4dadfc91 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-linux.png new file mode 100644 index 0000000000..2323b8c127 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-dss-linux.png new file mode 100644 index 0000000000..2323b8c127 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png new file mode 100644 index 0000000000..5d4ccbd44d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-linux.png new file mode 100644 index 0000000000..f3652de41d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-dss-linux.png new file mode 100644 index 0000000000..f3652de41d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png new file mode 100644 index 0000000000..1bd5f1ca36 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-linux.png new file mode 100644 index 0000000000..7487d3dc43 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-dss-linux.png new file mode 100644 index 0000000000..7487d3dc43 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png new file mode 100644 index 0000000000..a6d96c31e1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-linux.png new file mode 100644 index 0000000000..d970a9372e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-dss-linux.png new file mode 100644 index 0000000000..d970a9372e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-darwin.png new file mode 100644 index 0000000000..23aff5dbf5 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-linux.png new file mode 100644 index 0000000000..3c39b79df1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png new file mode 100644 index 0000000000..9b378614ad Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-linux.png new file mode 100644 index 0000000000..ef07e0c367 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-darwin.png new file mode 100644 index 0000000000..23aff5dbf5 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-linux.png new file mode 100644 index 0000000000..3c39b79df1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..3c39b79df1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-darwin.png new file mode 100644 index 0000000000..9b378614ad Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-linux.png new file mode 100644 index 0000000000..ef07e0c367 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..ef07e0c367 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-darwin.png new file mode 100644 index 0000000000..15fa3c131d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-linux.png new file mode 100644 index 0000000000..d6b9ff2481 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..d6b9ff2481 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-darwin.png new file mode 100644 index 0000000000..eed195ce2d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-linux.png new file mode 100644 index 0000000000..062d05b9a0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..062d05b9a0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-darwin.png new file mode 100644 index 0000000000..8a929ea233 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-linux.png new file mode 100644 index 0000000000..3cc9afe7f2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..3cc9afe7f2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-darwin.png new file mode 100644 index 0000000000..c70822e678 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-linux.png new file mode 100644 index 0000000000..0fd325b35b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..0fd325b35b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-darwin.png new file mode 100644 index 0000000000..713cb136c2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-linux.png new file mode 100644 index 0000000000..373bfa9d79 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..373bfa9d79 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png new file mode 100644 index 0000000000..703ad0033c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-linux.png new file mode 100644 index 0000000000..d954a6529d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-dss-linux.png new file mode 100644 index 0000000000..d954a6529d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png new file mode 100644 index 0000000000..81185508e5 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-linux.png new file mode 100644 index 0000000000..c075b98fe2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-dss-linux.png new file mode 100644 index 0000000000..c075b98fe2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png new file mode 100644 index 0000000000..0ce857b9fd Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-linux.png new file mode 100644 index 0000000000..37bd6b2de9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-dss-linux.png new file mode 100644 index 0000000000..37bd6b2de9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png new file mode 100644 index 0000000000..525be88ad8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-linux.png new file mode 100644 index 0000000000..6f8307c74f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-dss-linux.png new file mode 100644 index 0000000000..6f8307c74f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png new file mode 100644 index 0000000000..c3f8b8370e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-linux.png new file mode 100644 index 0000000000..331121bc70 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-dss-linux.png new file mode 100644 index 0000000000..331121bc70 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png new file mode 100644 index 0000000000..78c851ac62 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-linux.png new file mode 100644 index 0000000000..fa315d984a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-dss-linux.png new file mode 100644 index 0000000000..fa315d984a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png new file mode 100644 index 0000000000..f6cba79c5d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-linux.png new file mode 100644 index 0000000000..37f65318b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png new file mode 100644 index 0000000000..37f65318b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png new file mode 100644 index 0000000000..ca49155aaf Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-linux.png new file mode 100644 index 0000000000..162ed8c04c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png new file mode 100644 index 0000000000..162ed8c04c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png new file mode 100644 index 0000000000..2589d0db6b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-linux.png new file mode 100644 index 0000000000..5d4c75b6b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png new file mode 100644 index 0000000000..5d4c75b6b9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png new file mode 100644 index 0000000000..3cbad8f7f6 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-linux.png new file mode 100644 index 0000000000..8264450762 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png new file mode 100644 index 0000000000..8264450762 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png new file mode 100644 index 0000000000..185140d037 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-linux.png new file mode 100644 index 0000000000..5306872af1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png new file mode 100644 index 0000000000..5306872af1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png new file mode 100644 index 0000000000..a8f428402c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-linux.png new file mode 100644 index 0000000000..48c67251bc Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png new file mode 100644 index 0000000000..48c67251bc Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png new file mode 100644 index 0000000000..65fd744f1e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-linux.png new file mode 100644 index 0000000000..5f5dd3c8b4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png new file mode 100644 index 0000000000..5f5dd3c8b4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png new file mode 100644 index 0000000000..1b030bab7a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-linux.png new file mode 100644 index 0000000000..2e696bfcf0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png new file mode 100644 index 0000000000..2e696bfcf0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png new file mode 100644 index 0000000000..fec2182e8c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-linux.png new file mode 100644 index 0000000000..27e78fdd79 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png new file mode 100644 index 0000000000..27e78fdd79 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png new file mode 100644 index 0000000000..c6dfc67cb8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-linux.png new file mode 100644 index 0000000000..65d944ab82 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png new file mode 100644 index 0000000000..65d944ab82 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png new file mode 100644 index 0000000000..0f8acb2ab9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-linux.png new file mode 100644 index 0000000000..545c00caf1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png new file mode 100644 index 0000000000..545c00caf1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png new file mode 100644 index 0000000000..73f6048045 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-linux.png new file mode 100644 index 0000000000..6c47d8bce4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png new file mode 100644 index 0000000000..6c47d8bce4 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png new file mode 100644 index 0000000000..d092c3b38f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-linux.png new file mode 100644 index 0000000000..45c6195547 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png new file mode 100644 index 0000000000..45c6195547 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png new file mode 100644 index 0000000000..d27b695fda Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-linux.png new file mode 100644 index 0000000000..25760df4aa Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png new file mode 100644 index 0000000000..25760df4aa Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png new file mode 100644 index 0000000000..c1269be6ae Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-linux.png new file mode 100644 index 0000000000..907bc81937 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png new file mode 100644 index 0000000000..907bc81937 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png new file mode 100644 index 0000000000..55a88c2d62 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-linux.png new file mode 100644 index 0000000000..bea8a314f7 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png new file mode 100644 index 0000000000..bea8a314f7 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png new file mode 100644 index 0000000000..c6c408245d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-linux.png new file mode 100644 index 0000000000..0a9d0d8a01 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png new file mode 100644 index 0000000000..0a9d0d8a01 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png new file mode 100644 index 0000000000..fa4f422254 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-linux.png new file mode 100644 index 0000000000..1ed80eea5f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png new file mode 100644 index 0000000000..1ed80eea5f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png new file mode 100644 index 0000000000..20ff0db12e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-linux.png new file mode 100644 index 0000000000..a968e32c91 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-dss-linux.png new file mode 100644 index 0000000000..a968e32c91 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-contact-phone-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png new file mode 100644 index 0000000000..650b47fba9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-linux.png new file mode 100644 index 0000000000..3c04f19089 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-dss-linux.png new file mode 100644 index 0000000000..3c04f19089 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png new file mode 100644 index 0000000000..5645bc0fd1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-linux.png new file mode 100644 index 0000000000..831add2ac2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-dss-linux.png new file mode 100644 index 0000000000..831add2ac2 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png new file mode 100644 index 0000000000..aa6eae171a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-linux.png new file mode 100644 index 0000000000..ea58058b4b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-dss-linux.png new file mode 100644 index 0000000000..ea58058b4b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png new file mode 100644 index 0000000000..615b838417 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-linux.png new file mode 100644 index 0000000000..d044c880aa Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-dss-linux.png new file mode 100644 index 0000000000..d044c880aa Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-footer-email-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png new file mode 100644 index 0000000000..0c0b211eba Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-linux.png new file mode 100644 index 0000000000..93b65ee215 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png new file mode 100644 index 0000000000..93b65ee215 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png new file mode 100644 index 0000000000..5d8d7a6073 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-linux.png new file mode 100644 index 0000000000..9e7f2a478a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png new file mode 100644 index 0000000000..9e7f2a478a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png new file mode 100644 index 0000000000..839770a726 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-linux.png new file mode 100644 index 0000000000..a9baa7a2e0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png new file mode 100644 index 0000000000..a9baa7a2e0 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png new file mode 100644 index 0000000000..1f7d864c2c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-linux.png new file mode 100644 index 0000000000..ba0a6fa3f1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png new file mode 100644 index 0000000000..ba0a6fa3f1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png new file mode 100644 index 0000000000..289e153210 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-linux.png new file mode 100644 index 0000000000..b19f13fb4d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-dss-linux.png new file mode 100644 index 0000000000..b19f13fb4d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h1-title-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png new file mode 100644 index 0000000000..f49d1518be Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-linux.png new file mode 100644 index 0000000000..d7292d17d8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-dss-linux.png new file mode 100644 index 0000000000..d7292d17d8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-h2-title-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-darwin.png new file mode 100644 index 0000000000..e90ec0f31a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-linux.png new file mode 100644 index 0000000000..f7c88d9cea Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-dss-linux.png new file mode 100644 index 0000000000..f7c88d9cea Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h1-message-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-darwin.png new file mode 100644 index 0000000000..ff85c199ed Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-linux.png new file mode 100644 index 0000000000..5c16f0735c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-dss-linux.png new file mode 100644 index 0000000000..5c16f0735c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-h2-message-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-darwin.png new file mode 100644 index 0000000000..a31c99660d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-linux.png new file mode 100644 index 0000000000..157a0f9104 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-dss-linux.png new file mode 100644 index 0000000000..157a0f9104 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-how-to-participant-message-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-darwin.png new file mode 100644 index 0000000000..3377e94beb Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-linux.png new file mode 100644 index 0000000000..63b3b066ab Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-dss-linux.png new file mode 100644 index 0000000000..63b3b066ab Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-home-page-together-message-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png new file mode 100644 index 0000000000..28b3d669f8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-linux.png new file mode 100644 index 0000000000..1ebb776e69 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-dss-linux.png new file mode 100644 index 0000000000..4445f436c7 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-page-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png new file mode 100644 index 0000000000..901131ab2d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-linux.png new file mode 100644 index 0000000000..f092f38310 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png new file mode 100644 index 0000000000..f092f38310 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png new file mode 100644 index 0000000000..30eb700d3a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-linux.png new file mode 100644 index 0000000000..5768042909 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-dss-linux.png new file mode 100644 index 0000000000..5768042909 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-medical-institution-list-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png new file mode 100644 index 0000000000..bd811e70ed Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-linux.png new file mode 100644 index 0000000000..366210959f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-dss-linux.png new file mode 100644 index 0000000000..366210959f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-participant-list-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png new file mode 100644 index 0000000000..04c05989fd Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-linux.png new file mode 100644 index 0000000000..6372c5857c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png new file mode 100644 index 0000000000..6372c5857c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png new file mode 100644 index 0000000000..dfa52e7ab1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-linux.png new file mode 100644 index 0000000000..c71000560a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png new file mode 100644 index 0000000000..c71000560a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png new file mode 100644 index 0000000000..f945875167 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-linux.png new file mode 100644 index 0000000000..fbca271d8c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-dss-linux.png b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-dss-linux.png new file mode 100644 index 0000000000..fbca271d8c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-assent-for-child-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-dss-linux.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png new file mode 100644 index 0000000000..9a4dadfc91 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-ask-doctor-about-my-health-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png new file mode 100644 index 0000000000..5d4ccbd44d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-can-do-tests-on-genes-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png new file mode 100644 index 0000000000..1bd5f1ca36 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-contact-me-later-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png new file mode 100644 index 0000000000..a6d96c31e1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-get-test-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png new file mode 100644 index 0000000000..9b378614ad Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png new file mode 100644 index 0000000000..703ad0033c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png new file mode 100644 index 0000000000..81185508e5 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png new file mode 100644 index 0000000000..0ce857b9fd Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png new file mode 100644 index 0000000000..525be88ad8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png new file mode 100644 index 0000000000..c3f8b8370e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-step-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png new file mode 100644 index 0000000000..78c851ac62 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-assent-for-kids-tell-doctor-about-test-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png new file mode 100644 index 0000000000..f6cba79c5d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-contact-physician-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png new file mode 100644 index 0000000000..ca49155aaf Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png new file mode 100644 index 0000000000..2589d0db6b Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png new file mode 100644 index 0000000000..3cbad8f7f6 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png new file mode 100644 index 0000000000..185140d037 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-2-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png new file mode 100644 index 0000000000..a8f428402c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png new file mode 100644 index 0000000000..65fd744f1e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png new file mode 100644 index 0000000000..1b030bab7a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-3-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png new file mode 100644 index 0000000000..fec2182e8c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png new file mode 100644 index 0000000000..c6dfc67cb8 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png new file mode 100644 index 0000000000..0f8acb2ab9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-4-block-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png new file mode 100644 index 0000000000..73f6048045 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png new file mode 100644 index 0000000000..d092c3b38f Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png new file mode 100644 index 0000000000..d27b695fda Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-form-step-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png new file mode 100644 index 0000000000..c1269be6ae Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-perform-dna-sequencing-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png new file mode 100644 index 0000000000..55a88c2d62 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-recontact-followup-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png new file mode 100644 index 0000000000..c6c408245d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-request-medical-records-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png new file mode 100644 index 0000000000..fa4f422254 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-consent-return-genetics-results-question-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png new file mode 100644 index 0000000000..20ff0db12e Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-contact-phone-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png new file mode 100644 index 0000000000..650b47fba9 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h1-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png new file mode 100644 index 0000000000..5645bc0fd1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-subtitle-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png new file mode 100644 index 0000000000..aa6eae171a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-dashboard-h2-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png new file mode 100644 index 0000000000..615b838417 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-footer-email-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png new file mode 100644 index 0000000000..0c0b211eba Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png new file mode 100644 index 0000000000..5d8d7a6073 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png new file mode 100644 index 0000000000..839770a726 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png new file mode 100644 index 0000000000..1f7d864c2c Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-genome-study-form-content-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png new file mode 100644 index 0000000000..289e153210 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h1-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png new file mode 100644 index 0000000000..f49d1518be Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-h2-title-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png new file mode 100644 index 0000000000..aa4fdbdc60 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-page-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png new file mode 100644 index 0000000000..901131ab2d Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-history-submit-form-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png new file mode 100644 index 0000000000..30eb700d3a Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-medical-institution-list-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png new file mode 100644 index 0000000000..bd811e70ed Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-participant-list-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png new file mode 100644 index 0000000000..04c05989fd Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png new file mode 100644 index 0000000000..dfa52e7ab1 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-review-submission-form-content-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png new file mode 100644 index 0000000000..f945875167 Binary files /dev/null and b/playwright-e2e/tests/atcp/atcp-parent-consent-enrollment.spec.ts-snapshots/atcp-thank-you-subtitle-chromium-darwin.png differ diff --git a/playwright-e2e/tests/brain/brain-regression-test.spec.ts b/playwright-e2e/tests/brain/brain-regression-test.spec.ts index 32362b148f..0a1ad029eb 100644 --- a/playwright-e2e/tests/brain/brain-regression-test.spec.ts +++ b/playwright-e2e/tests/brain/brain-regression-test.spec.ts @@ -11,7 +11,7 @@ import ResearchConsentPage from 'dss/pages/brain/consent-page'; const { BRAIN_USER_EMAIL, BRAIN_USER_PASSWORD, MIN_EMAIL_WAIT_TIME, BRAIN_BASE_URL, SITE_PASSWORD } = process.env; -test('Brain statics @brain', async ({ page }) => { +test('Brain statics @dss @brain', async ({ page }) => { await page.goto(BRAIN_BASE_URL!); await utils.fillSitePassword(page, SITE_PASSWORD); await page.waitForTimeout(1000); @@ -136,7 +136,7 @@ test('Brain statics @brain', async ({ page }) => { await page.getByRole('img', { name: 'The Angiosarcoma Project data release diagram' }).click(); }); -test.fixme('Brain enroll kid on their behalf @brain', async ({ page }) => { +test.fixme('Brain enroll kid on their behalf @dss @brain', async ({ page }) => { test.slow(); await page.goto(BRAIN_BASE_URL!); const userEmail = generateEmailAlias(BRAIN_USER_EMAIL); @@ -299,7 +299,7 @@ test.fixme('Brain enroll kid on their behalf @brain', async ({ page }) => { await page.getByRole('button', { name: 'View', exact: true }).click(); }); -test.fixme('Brain enroll self @brain', async ({ page }) => { +test.fixme('Brain enroll self @dss @brain', async ({ page }) => { test.slow(); await page.goto(BRAIN_BASE_URL!); const checkForEmailsAfter = Date.now() + Number.parseInt(MIN_EMAIL_WAIT_TIME!); diff --git a/playwright-e2e/tests/dsm/atcp/atcp-receive-kit.spec.ts b/playwright-e2e/tests/dsm/atcp/atcp-receive-kit.spec.ts index 75731be456..069fbd7033 100644 --- a/playwright-e2e/tests/dsm/atcp/atcp-receive-kit.spec.ts +++ b/playwright-e2e/tests/dsm/atcp/atcp-receive-kit.spec.ts @@ -1,5 +1,5 @@ import { expect } from '@playwright/test'; -import { AdditionalFilter } from 'dsm/component/filters/sections/search/search-enums'; +import { test } from 'fixtures/dsm-fixture'; import { SamplesNavEnum } from 'dsm/component/navigation/enums/samplesNav-enum'; import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; import { StudyNavEnum } from 'dsm/component/navigation/enums/studyNav-enum'; @@ -11,19 +11,17 @@ import ParticipantPage from 'dsm/pages/participant-page/participant-page'; import AtcpSearchPage, { SearchByField } from 'dsm/pages/samples/search-page'; import { WelcomePage } from 'dsm/pages/welcome-page'; import Radiobutton from 'dss/component/radiobutton'; -import { test } from 'fixtures/dsm-fixture'; import { getUtcDate } from 'utils/date-utils'; import { generateAlphaNumeric } from 'utils/faker-utils'; -import { logGenomeStudySampleKitReceived } from 'utils/log-utils'; import { studyShortName, waitForNoSpinner, waitForResponse } from 'utils/test-utils'; +import { logInfo } from 'utils/log-utils'; -test.describe('Receive Kit', () => { +test.describe('Receive Genome Study Kit', () => { const studies = [StudyEnum.AT]; for (const study of studies) { let newBarcode = generateAlphaNumeric().toUpperCase(); let shortId: string; - let guid: string; let participantPage: ParticipantPage; let participantListPage: ParticipantListPage; @@ -36,85 +34,32 @@ test.describe('Receive Kit', () => { }); test(`Receive genome sample kit for ${study} @dsm @${study} @functional`, async ({page}) => { - // Instead using UI table filter and search, it is much quicker and more accurate to intercept DSM API request to find the right participant to use. - // Find a Playwright test user that does not have GENOME_STUDY_SPIT_KIT_BARCODE. - await page.route('**/*', async (route, request): Promise => { - const regex = new RegExp(/applyFilter\?realm=.*&parent=participantList/i); - if (!shortId && request.url().match(regex)) { - console.log(`Intercepting API request ${request.url()} for a E2E participant`); - const response = await route.fetch(); - const json = JSON.parse(await response.text()); - for (const i in json.participants) { - let participantShortId; - const profile = json.participants[i].esData.profile; - const participantData = json.participants[i].esData.dsm.participantData; - if (!profile.firstName.includes('E2E')) { - continue; - } - participantShortId = profile.hruid; - for (const dataId in participantData) { - if ((participantData[dataId].fieldTypeId as string) === 'AT_GROUP_GENOME_STUDY') { - if ((participantData[dataId].data as string).indexOf('GENOME_STUDY_SPIT_KIT_BARCODE') !== -1) { - participantShortId = null; - break; - } - } - } - if (participantShortId) { - shortId = participantShortId; - console.log('short id: ', shortId); - break; // finished searching for a participant who is Playwright automation test created and does not have genome study kit barcode - } - } - } - return route.continue(); - }); - await test.step('Search for the right participant on Participant List page', async () => { participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); await participantListPage.waitForReady(); - // Search for a participant that meets the search criteria - const customizeViewPanel = participantListPage.filters.customizeViewPanel; - await customizeViewPanel.open(); - await customizeViewPanel.selectColumns('Participant Columns', ['Registration Date']); - await customizeViewPanel.selectColumns('Genome Study Columns', ['Sample kit barcode for genome study'], { nth: 1 }); - await customizeViewPanel.close(); - - const searchPanel = participantListPage.filters.searchPanel; - await searchPanel.open(); - await searchPanel.checkboxes('Status', { checkboxValues: ['Registered', 'Enrolled'] }); - await searchPanel.text('Sample kit barcode for genome study', { additionalFilters: [AdditionalFilter.EMPTY] }); - await searchPanel.search(); - }); + const rowIndex = await participantListPage.findParticipantFor('Genome Study Columns', 'Sample kit barcode for genome study', {nth: 1}); - await test.step('Verify participant detail on Participant page', async () => { - const searchPanel = participantListPage.filters.searchPanel; - await searchPanel.clear(); - await participantListPage.filterListByShortId(shortId); - logGenomeStudySampleKitReceived(shortId) - - const row = 0; - const participantsTable = participantListPage.participantListTable; - const status = await participantsTable.getParticipantDataAt(row, 'Status'); - expect(status).toMatch(/Enrolled|Registered/); - const rowShortId = await participantsTable.getParticipantDataAt(row, 'Short ID'); - expect(rowShortId).toBe(shortId); - const registrationDate = await participantsTable.getParticipantDataAt(row, 'Registration Date', { exactMatch: false }); - - // Open the Participant page - participantPage = await participantsTable.openParticipantPageAt(row); - - expect(await participantPage.getStatus()).toBe(status); - expect(await participantPage.getShortId()).toBe(shortId); - expect(await participantPage.getRegistrationDate()).toBe(registrationDate); - guid = await participantPage.getGuid(); + const participantListTable = participantListPage.participantListTable; + shortId = await participantListTable.getParticipantDataAt(rowIndex, 'Short ID'); + participantPage = await participantListTable.openParticipantPageAt(rowIndex); + logInfo(`Participant Short ID: ${shortId}`); }); await test.step('Set new sample kit barcode', async () => { newBarcode = `${shortId}-${newBarcode}`; const genomeStudyTab = await participantPage.clickTab(TabEnum.GENOME_STUDY); - await genomeStudyTab.setValue('Sample kit barcode for genome study', newBarcode); + const value = await genomeStudyTab.getField('Sample kit barcode for genome study').locator('input').inputValue(); + expect(value).toBe(''); // Sample Kit Barcode input should be empty + + await Promise.all([ + genomeStudyTab.setValue('Sample kit barcode for genome study', newBarcode), + page.waitForResponse(resp => { + return resp.url().includes('/ui/patch') + && resp.status() === 200 + && (resp.request().postDataJSON().nameValues[0].value as string).includes(newBarcode) + }) + ]); await participantPage.backToList(); }); @@ -130,6 +75,7 @@ test.describe('Receive Kit', () => { expect(await table.getRowText(row, 'Short ID')).toBe(shortId); const button = table.findButtonInCell(table.rowLocator(), { label: 'Mark Received' }); + await expect(button.toLocator()).toBeVisible(); await Promise.all([ waitForResponse(page, { uri: `ui/receivedKits?realm=${studyShortName(study).realm}&userId=` }), button.click() @@ -145,14 +91,14 @@ test.describe('Receive Kit', () => { await participantListPage.participantListTable.openParticipantPageAt(0); const genomeStudyTab = await participantPage.clickTab(TabEnum.GENOME_STUDY); - let field = await genomeStudyTab.getField('Status of genome study sample kit'); + let field = genomeStudyTab.getField('Status of genome study sample kit'); // "Sample kit received from participant" is checked const radiobuttonGroup = new Radiobutton(page, { root: field }); expect(await radiobuttonGroup.isChecked('Sample kit received from participant')).toBe(true); // "Genome study date of receipt of sample kit from participant" will show the received date (today) - field = await genomeStudyTab.getField('Genome study date of receipt of sample kit from participant'); + field = genomeStudyTab.getField('Genome study date of receipt of sample kit from participant'); const fieldValue = await field.locator('input[data-placeholder="mm/dd/yyyy"]').inputValue(); expect(fieldValue).toBe(getUtcDate()); }); diff --git a/playwright-e2e/tests/dsm/cohort-tag.spec.ts b/playwright-e2e/tests/dsm/cohort-tag.spec.ts index 460035c2c1..f60b3139a0 100644 --- a/playwright-e2e/tests/dsm/cohort-tag.spec.ts +++ b/playwright-e2e/tests/dsm/cohort-tag.spec.ts @@ -8,6 +8,7 @@ import { StudyNavEnum } from 'dsm/component/navigation/enums/studyNav-enum'; import { Navigation } from 'dsm/component/navigation/navigation'; import * as crypto from 'crypto'; import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import { logInfo } from 'utils/log-utils'; test.describe('Cohort tags', () => { let shortId: string; @@ -20,34 +21,31 @@ test.describe('Cohort tags', () => { await welcomePage.selectStudy(studyName); }); - test(`Ensure cohort tags update and delete properly for ${studyName} @dsm @functional`, async ({ page, request }) => { - // Inspect network requests to find a Playwright test user that does not have any cohort tag and notes + test(`Ensure cohort tags update and delete properly for @${studyName} @dsm @functional @cohort-tag`, async ({ page, request }) => { + // Inspect network requests to find a Playwright test user that does not have any cohort tag await page.route('**/*', async (route, request): Promise => { - if (!shortId) { - // only search for shortId one time to avoid duplicated searching - let participantShortId; - const regex = new RegExp(/applyFilter\?realm=.*&parent=participantList/i); - if (request.url().match(regex)) { - console.log(`Intercepting API request ${request.url()} for a E2E participant`); - const response = await route.fetch(); - const json = JSON.parse(await response.text()); - for (const i in json.participants) { - const profile = json.participants[i].esData.profile; - if (!profile.firstName.includes('E2E')) { - continue; - } - participantShortId = profile.hruid; - const dsmData = json.participants[i].esData.dsm; - if (dsmData['cohortTag']?.length > 0) { - participantShortId = null; // cohort tags already exists - } - if (dsmData.participant['notes']?.length > 0) { - participantShortId = null; // notes already exists - } - if (participantShortId) { - shortId = participantShortId; - break; // finished searching - } + const regex = new RegExp(/applyFilter\?realm=.*&userId=.*&parent=participantList/i); + if (request && !shortId && request.url().match(regex)) { + logInfo(`Intercepting API request ${request.url()} for a E2E participant`); + const response = await route.fetch({ timeout: 50000 }); + const json = JSON.parse(await response.text()); + + for (const i in json.participants) { + const participant = json.participants[i]; + const profile = participant.esData.profile; + const participantShortId = profile.hruid; + const dsmData = participant.esData.dsm; + const cohortTag: string[] = dsmData?.cohortTag; + + if (!profile.firstName?.includes('E2E')) { + continue; + } + if (cohortTag && Object.keys(cohortTag).length > 0) { + continue; // cohort tags already exists + } + if (participantShortId) { + shortId = participantShortId; + break; // finished searching } } } @@ -59,10 +57,8 @@ test.describe('Cohort tags', () => { const cohortTagValue1 = `tag1-${uuid}`; const cohortTagValue2 = `tag2-${uuid}`; const cohortTagValue3 = `tag3-${uuid}`; - const notes = `Test note ${studyName}-${uuid}`; const participantListPage = await new Navigation(page, request).selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); - await participantListPage.assertPageTitle(); await participantListPage.waitForReady(); // Apply filter in search for the right participant on Participant List page @@ -71,12 +67,12 @@ test.describe('Cohort tags', () => { await customizeViewPanel.selectColumns('Cohort Tags Columns', ['Cohort Tag Name']); // Search participant by Short ID - // console.log(`Participant Short ID: ${shortId}`); + logInfo(`Participant Short ID: ${shortId}`); await participantListPage.filterListByShortId(shortId); const participantListTable = participantListPage.participantListTable; - let cohortTagColumn = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); - expect(cohortTagColumn.length).toBe(0); // No Cohort Tags + let cohortTagName = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); + expect(cohortTagName.length).toBe(0); // No Cohort Tags const participantPage: ParticipantPage = await participantListTable.openParticipantPageAt(0); await participantPage.assertPageTitle(); @@ -86,7 +82,6 @@ test.describe('Cohort tags', () => { await cohortTag.remove(cohortTagValue1); await cohortTag.add(cohortTagValue2); await cohortTag.add(cohortTagValue3); - await participantPage.fillNotes(notes); await participantPage.backToList(); await participantListPage.assertPageTitle(); @@ -94,12 +89,11 @@ test.describe('Cohort tags', () => { // Open participant again to verify cohort tags await participantListPage.filterListByShortId(shortId); - cohortTagColumn = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); - expect(cohortTagColumn.length).toBeGreaterThan(1); // Cohort Tags exist + cohortTagName = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); + expect(cohortTagName.length).toBeGreaterThan(1); // Cohort Tags exist await participantListTable.openParticipantPageAt(0); - // Verify tags and note existence - await participantPage.assertNotesToBe(notes); + // Verify tags existence await cohortTag.assertCohortTagToHaveCount(cohortTagValue1, 0); await cohortTag.assertCohortTagToHaveCount(cohortTagValue2, 1); await cohortTag.assertCohortTagToHaveCount(cohortTagValue3, 1); @@ -124,8 +118,8 @@ test.describe('Cohort tags', () => { await cohortTag.assertCohortTagToHaveCount(cohortTagValue3, 0); await participantPage.backToList(); - cohortTagColumn = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); - expect(cohortTagColumn.length).toBe(0); // No more Cohort Tag + cohortTagName = await participantListTable.getParticipantDataAt(0, 'Cohort Tag Name'); + expect(cohortTagName.length).toBe(0); // No more Cohort Tag }); } }); diff --git a/playwright-e2e/tests/dsm/date-picker.spec.ts b/playwright-e2e/tests/dsm/date-picker.spec.ts deleted file mode 100644 index fe87cfc039..0000000000 --- a/playwright-e2e/tests/dsm/date-picker.spec.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { expect } from '@playwright/test'; -import { CustomViewColumns } from 'dsm/component/filters/sections/search/search-enums'; -import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; -import ParticipantListPage from 'dsm/pages/participant-list-page'; -import { test } from 'fixtures/dsm-fixture'; -import { getDate } from 'utils/date-utils'; - -test.describe('DSM Date Picker', () => { - test('Pick 12/20/1995 as date of birth on Participant List @dsm', async ({ page, request }) => { - const today = new Date(); - const splits = getDate(today).split('/'); // mm/dd/yyyy - const date = splits[1]; - const month = today.toLocaleString('default', { month: 'long' }); - const year = splits[2]; - - const participantListPage = await ParticipantListPage.goto(page, StudyEnum.ANGIO, request); - - const customizeViewPanel = participantListPage.filters.customizeViewPanel; - await customizeViewPanel.open(); - await customizeViewPanel.selectColumns(CustomViewColumns.RESEARCH_CONSENT_FORM, ['Date of Birth']); - - const searchPanel = participantListPage.filters.searchPanel; - await searchPanel.open(); - - // Open Date of Birth Date picker - const calendar = await searchPanel.openDatePicker('Date of Birth', { open: true }); - expect(calendar.isVisible()).toBeTruthy(); - - // Day picker - const calendarDayPicker = calendar.dayPicker(); - - const dayOfWeekLabel = calendarDayPicker.locator('th').filter({ has: page.locator('[aria-label="labelz.full"]') }); - await expect(dayOfWeekLabel).toHaveText(['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']); - - // Today's date is highlighted by default - await expect(calendarDayPicker.locator('td button.active')).toHaveText(date.toString(), { useInnerText: true }); - - // Open Month picker - await calendarDayPicker.locator('th button[id]').click(); - - // Month picker - const calendarMonthPicker = calendar.monthPicker(); - - // Today's month is highlighted by default - await expect(calendarMonthPicker.locator('td button.active')).toHaveText(month.toString(), { useInnerText: true }); - - // All months are visible - await expect(calendarMonthPicker.locator('td button')).toHaveText( - ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']); - - // Open Year picker - await calendarMonthPicker.locator('th button[id]').click(); - - // Year picker - const calendarYearPicker = calendar.yearPicker(); - - // Today's year is highlighted by default - await expect(calendarYearPicker.locator('td button.active')).toHaveText(year.toString(), { useInnerText: true }); - - // Close Date of Birth Date picker to reset fields - await searchPanel.openDatePicker('Date of Birth', { open: false }); - - // Reopen calendar picker to select target date - await searchPanel.openDatePicker('Date of Birth', { open: true }); - // Select date is 12/20/1995 - await calendar.pickDate({ - yyyy: 1995, - month: 11, // December because month is 0-indexed - dayOfMonth: 20 - }); - - // Verify date value match - const selectDate = getDate(new Date(1995, 11, 20)); - console.log(`Date picker: Pick date is ${selectDate}`); - - const value = await searchPanel.textInputLocator('Date of Birth').inputValue(); - expect(value).toBe(selectDate); - }); -}); diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts b/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts new file mode 100644 index 0000000000..3a8b263672 --- /dev/null +++ b/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts @@ -0,0 +1,160 @@ +import { expect } from '@playwright/test'; +import { test } from 'fixtures/dsm-fixture'; +import { Navigation } from 'dsm/component/navigation/navigation'; +import Select from 'dss/component/select'; +import { KitUploadInfo } from 'dsm/pages/kitUpload-page/models/kitUpload-model'; +import {StudyEnum} from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import { KitTypeEnum } from 'dsm/component/kitType/enums/kitType-enum'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import {StudyNavEnum} from 'dsm/component/navigation/enums/studyNav-enum'; +import * as user from 'data/fake-user.json'; +import crypto from 'crypto'; +import KitUploadPage from 'dsm/pages/kitUpload-page/kitUpload-page'; +import {SamplesNavEnum} from 'dsm/component/navigation/enums/samplesNav-enum'; +import FamilyMemberTab from 'dsm/pages/participant-page/rgp/family-member-tab'; +import { FamilyMember } from 'dsm/component/tabs/enums/familyMember-enum'; +import KitsWithoutLabelPage from 'dsm/pages/kitsInfo-pages/kitsWithoutLabel-page'; +import {KitsColumnsEnum} from 'dsm/pages/kitsInfo-pages/enums/kitsColumns-enum'; +import KitsSentPage from 'dsm/pages/kitsInfo-pages/kitsSentPage'; +import KitsReceivedPage from 'dsm/pages/kitsInfo-pages/kitsReceived-page/kitsReceivedPage'; +import TrackingScanPage from 'dsm/pages/scanner-pages/trackingScan-page'; +import RgpFinalScanPage from 'dsm/pages/scanner-pages/rgpFinalScan-page' +import { simplifyShortID } from 'utils/faker-utils'; +import { saveParticipantGuid } from 'utils/faker-utils'; +import { ParticipantListTable } from 'dsm/component/tables/participant-list-table'; + +test.describe('Blood & RNA Kit Upload', () => { +test.skip('Verify that a blood & rna kit can be uploaded @dsm @rgp @functional @upload', async ({ page, request}, testInfo) => { + const testResultDirectory = testInfo.outputDir; + + const study = StudyEnum.RGP; + const kitType = KitTypeEnum.BLOOD_AND_RNA; + const expectedKitTypes = [KitTypeEnum.BLOOD, KitTypeEnum.BLOOD_AND_RNA]; //Later will be just Blood & RNA kit type for RGP + + //Go into DSM + const navigation = new Navigation(page, request); + + //select RGP study + await new Select(page, { label: 'Select study' }).selectOption('RGP'); + + //Go to recently created playwright test participant to get their short id + const participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); + await participantListPage.assertPageTitle(); + await participantListPage.waitForReady(); + + const participantListTable = new ParticipantListTable(page); + const participantGuid = await participantListTable.getGuidOfMostRecentAutomatedParticipant(user.patient.firstName, true); + saveParticipantGuid(participantGuid); + + await participantListPage.filterListByParticipantGUID(user.patient.participantGuid); + await participantListTable.openParticipantPageAt(0); + + //For RGP, the short id needed for the kit upload is the family member's subject id + const proband = new FamilyMemberTab(page, FamilyMember.PROBAND); + proband.relationshipID = user.patient.relationshipID; + + const probandTab = proband.getFamilyMemberTab(); + await expect(probandTab).toBeVisible(); + await probandTab.click(); + await expect(probandTab).toHaveClass('nav-link active');//Make sure the tab is in view and selected + + const participantInfoSection = proband.getParticipantInfoSection(); + await participantInfoSection.click(); + + const probandSubjectID = proband.getSubjectID(); + await expect(probandSubjectID).not.toBeEmpty(); + const shortID = await probandSubjectID.inputValue(); + const simpleShortId = simplifyShortID(shortID, 'RGP'); + + //Deactivate existing kits for participant + //Note: no blood kits are automatically created for RGP - preliminary deactivation of existing kits is done in case of prior test run + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.assertPageTitle(); + await kitsWithoutLabelPage.selectKitType(kitType); + await kitsWithoutLabelPage.assertCreateLabelsBtn(); + await kitsWithoutLabelPage.assertReloadKitListBtn(); + await kitsWithoutLabelPage.assertTableHeader(); + await kitsWithoutLabelPage.deactivateAllKitsFor(simpleShortId); + + //The rest of the kit upload information - RGP kits are by family member instead of by account - using the proband's info to make a kit + const kitUploadInfo = new KitUploadInfo(shortID, user.patient.firstName, user.patient.lastName); + kitUploadInfo.address.street1 = user.patient.streetAddress; + kitUploadInfo.address.city = user.patient.city; + kitUploadInfo.address.postalCode = user.patient.zip; + kitUploadInfo.address.state = user.patient.state.abbreviation; + kitUploadInfo.address.country = user.patient.country.abbreviation; + + //Upload a Blood & RNA kit + const kitUploadPage = await navigation.selectFromSamples(SamplesNavEnum.KIT_UPLOAD); + await kitUploadPage.waitForReady(); + await kitUploadPage.assertPageTitle(); + await kitUploadPage.assertDisplayedKitTypes(expectedKitTypes); + await kitUploadPage.selectKitType(kitType); + await kitUploadPage.assertBrowseBtn(); + await kitUploadPage.assertUploadKitsBtn(); + await kitUploadPage.assertInstructionSnapshot(); + await kitUploadPage.uploadFile(kitType, [kitUploadInfo], study, testResultDirectory); + + //Go to Kits w/o Label to extract a shipping ID + await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.selectKitType(kitType); + await kitsWithoutLabelPage.assertCreateLabelsBtn(); + await kitsWithoutLabelPage.assertReloadKitListBtn(); + await kitsWithoutLabelPage.assertTableHeader(); + await kitsWithoutLabelPage.assertPageTitle(); + + await kitsWithoutLabelPage.search(KitsColumnsEnum.SHORT_ID, simpleShortId); + const shippingID = (await kitsWithoutLabelPage.getData(KitsColumnsEnum.SHIPPING_ID)).trim(); + + //Tracking scan + const labelNumber = crypto.randomUUID().toString().substring(0, 10); + const kitLabel = `RGP_${labelNumber}`; + const trackingScanPage = await navigation.selectFromSamples(SamplesNavEnum.TRACKING_SCAN); + await trackingScanPage.assertPageTitle(); + const trackingLabel = `tracking-${crypto.randomUUID().toString().substring(0, 10)}`; + await trackingScanPage.fillScanPairs([trackingLabel, kitLabel]); + await trackingScanPage.save(); + + //RGP final scan page - RNA labels must have the prefix 'RNA' (all caps) + const finalScanPage = await navigation.selectFromSamples(SamplesNavEnum.RGP_FINAL_SCAN); + const rnaNumber = crypto.randomUUID().toString().substring(0, 10); + const rnaLabel = `RNA${rnaNumber}`; + await finalScanPage.assertPageTitle(); + await finalScanPage.fillScanTrio(kitLabel, rnaLabel, shippingID, 1); + await finalScanPage.save(); + + //Kits Sent Page + const kitsSentPage = await navigation.selectFromSamples(SamplesNavEnum.SENT); + await kitsSentPage.waitForLoad(); + await kitsSentPage.assertPageTitle(); + await kitsSentPage.assertDisplayedKitTypes(expectedKitTypes); + await kitsSentPage.selectKitType(kitType); + + //Check for the sent blood kit + await kitsSentPage.search(KitsColumnsEnum.MF_CODE, kitLabel); + await kitsSentPage.assertDisplayedRowsCount(1); + + //Check for the sent RNA kit + await kitsSentPage.search(KitsColumnsEnum.MF_CODE, rnaLabel); + await kitsSentPage.assertDisplayedRowsCount(1); + + //Kits Received Page + const kitsReceivedPage = await navigation.selectFromSamples(SamplesNavEnum.RECEIVED); + await kitsReceivedPage.waitForLoad(); + await kitsReceivedPage.assertPageTitle(); + await kitsReceivedPage.kitReceivedRequest(kitLabel); //Mark the blood kit as received + await kitsReceivedPage.kitReceivedRequest(rnaLabel); //Mark the RNA kit as received + await kitsReceivedPage.assertDisplayedKitTypes(expectedKitTypes); + await kitsReceivedPage.selectKitType(kitType); + + //Check for the received blood kit + await kitsReceivedPage.search(KitsColumnsEnum.MF_CODE, kitLabel); + await kitsReceivedPage.assertDisplayedRowsCount(1); + + //Check for the received RNA kit + await kitsReceivedPage.search(KitsColumnsEnum.MF_CODE, rnaLabel); + await kitsReceivedPage.assertDisplayedRowsCount(1); + }); +}); diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts-snapshots/upload-instructions-chromium-darwin.png b/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts-snapshots/upload-instructions-chromium-darwin.png new file mode 100644 index 0000000000..98b3f44eb9 Binary files /dev/null and b/playwright-e2e/tests/dsm/kitUploadFlow/blood-and-rna-kit-upload-flow.spec.ts-snapshots/upload-instructions-chromium-darwin.png differ diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-prefix-check.spec.ts b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-prefix-check.spec.ts new file mode 100644 index 0000000000..17b6bc6c9b --- /dev/null +++ b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-prefix-check.spec.ts @@ -0,0 +1,209 @@ +import { expect } from '@playwright/test'; +import { test } from 'fixtures/dsm-fixture'; +import crypto from 'crypto'; +import * as mock from 'data/mock-address.json'; +import { KitTypeEnum } from 'dsm/component/kitType/enums/kitType-enum'; +import { SamplesNavEnum } from 'dsm/component/navigation/enums/samplesNav-enum'; +import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import { StudyNavEnum } from 'dsm/component/navigation/enums/studyNav-enum'; +import { Navigation } from 'dsm/component/navigation/navigation'; +import KitUploadPage from 'dsm/pages/kitUpload-page/kitUpload-page'; +import { KitUploadInfo } from 'dsm/pages/kitUpload-page/models/kitUpload-model'; +import { KitsColumnsEnum } from 'dsm/pages/kitsInfo-pages/enums/kitsColumns-enum'; +import KitsSentPage from 'dsm/pages/kitsInfo-pages/kitsSentPage'; +import KitsWithoutLabelPage from 'dsm/pages/kitsInfo-pages/kitsWithoutLabel-page'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import ParticipantPage from 'dsm/pages/participant-page/participant-page'; +import ErrorPage from 'dsm/pages/samples/error-page'; +import FinalScanPage from 'dsm/pages/scanner-pages/finalScan-page'; +import TrackingScanPage from 'dsm/pages/scanner-pages/trackingScan-page'; +import { WelcomePage } from 'dsm/pages/welcome-page'; +import { logInfo } from 'utils/log-utils'; +import { waitForResponse } from 'utils/test-utils'; + +/** + * Prefix check for Blood kit with Canada and New York address for LMS and Osteo2 studies. + * + * For Blood kit: + * - Upload a kit with address for Canada or NY state + * - Create kit label without PECGS prefix + * - Kit will be on error page + * - Tracking scan + * - Final scan + */ + +// don't run in parallel +test.describe.serial('Blood Kit Upload', () => { + let welcomePage: WelcomePage; + let navigation: Navigation; + let participantPage: ParticipantPage; + let shippingID: string; + let kitUploadInfo: KitUploadInfo; + let shortID: string; + + const studies = [StudyEnum.LMS]; // StudyEnum.OSTEO2; + const kitType = KitTypeEnum.BLOOD; + const expectedKitTypes = [KitTypeEnum.SALIVA, KitTypeEnum.BLOOD]; + const kitLabel = `${crypto.randomUUID().toString().substring(0, 10)}`; + + const mockedCanadaAddress = { + street1: mock.canada.street, + street2: mock.canada.street2, + city: mock.canada.city, + postalCode: mock.canada.zip, + state: mock.canada.state.abbreviation, + country: mock.canada.country.abbreviation, + } + + const mockedNewYorkAddress = { + street1: mock.newyork.street, + street2: mock.newyork.street2, + city: mock.newyork.city, + postalCode: mock.newyork.zip, + state: mock.newyork.state.abbreviation, + country: mock.newyork.country.abbreviation, + } + + test.beforeEach(({ page, request }) => { + welcomePage = new WelcomePage(page); + navigation = new Navigation(page, request); + }); + + for (const [index, study] of studies.entries()) { + test(`Kit prefix check @cmi @dsm @${study} @kit`, async ({ page }, testInfo) => { + const testResultDir = testInfo.outputDir; + + await welcomePage.selectStudy(study); + + await test.step('Find a suitable participant', async () => { + const participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); + await participantListPage.waitForReady(); + + // Find an existing suitable participant + const testParticipantIndex = await participantListPage.findParticipantForKitUpload(); + + // Collects all the necessary data for kit upload + const participantListTable = participantListPage.participantListTable; + participantPage = await participantListTable.openParticipantPageAt(testParticipantIndex); + }); + + await test.step('Collect participant information', async () => { + shortID = await participantPage.getShortId(); + const firstName = await participantPage.getFirstName(); + const lastName = await participantPage.getLastName(); + expect(shortID).toBeTruthy(); + expect(firstName).toBeTruthy(); + expect(lastName).toBeTruthy(); + logInfo(`shortId: ${shortID}`); + + kitUploadInfo = new KitUploadInfo( + shortID, + firstName, + lastName, + Math.round(Math.random()) === 0 ? mockedCanadaAddress : mockedNewYorkAddress + ); + }); + + await test.step('Deactivate existing blood and saliva kits', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + for (const kit of expectedKitTypes) { + await kitsWithoutLabelPage.selectKitType(kit); + await kitsWithoutLabelPage.deactivateAllKitsFor(shortID); + } + }); + + // Uploads new kit + await test.step('Upload new blood kit', async () => { + const kitUploadPage = await navigation.selectFromSamples(SamplesNavEnum.KIT_UPLOAD); + await kitUploadPage.waitForReady(); + await kitUploadPage.assertPageTitle(); + await kitUploadPage.selectKitType(kitType); + await kitUploadPage.skipAddressValidation(true); // because mocked address is different from participant's address + await kitUploadPage.assertBrowseBtn(); + await kitUploadPage.assertUploadKitsBtn(); + await kitUploadPage.uploadFile(kitType, [kitUploadInfo], study, testResultDir); + }); + + await test.step('Create kit label', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.selectKitType(kitType); + await kitsWithoutLabelPage.assertCreateLabelsBtn(); + await kitsWithoutLabelPage.assertReloadKitListBtn(); + await kitsWithoutLabelPage.assertTableHeader(); + await kitsWithoutLabelPage.assertPageTitle(); + + const kitsTable = kitsWithoutLabelPage.kitsWithoutLabelTable; + await kitsTable.searchByColumn(KitsColumnsEnum.SHORT_ID, shortID); + await expect(kitsTable.rowLocator()).toHaveCount(1); + shippingID = (await kitsTable.getRowText(0, KitsColumnsEnum.SHIPPING_ID)).trim(); + + await kitsTable.selectSingleRowByIndex(); + await Promise.all([ + waitForResponse(page, { uri: '/kitLabel' }), + kitsWithoutLabelPage.createLabelsButton.click() + ]); + await Promise.all([ + expect(page.locator('[data-icon="cog"]')).toBeVisible(), + expect(page.locator('h3')).toHaveText(/Triggered label creation/i) + ]); + logInfo(`shippingID: ${shippingID}`); + }); + + // New kit will be listed on Error page because address is in either Canada or New York + await test.step('New kit will be listed on Error page', async () => { + const errorPage = await navigation.selectFromSamples(SamplesNavEnum.ERROR); + const kitListTable = errorPage.kitListTable; + await errorPage.waitForReady(); + await errorPage.selectKitType(kitType); + await expect(async () => { + const noKit = await page.getByText('There are no kit requests').isVisible(); + if (noKit) { + await errorPage.reloadKitList(); + } + await expect(kitListTable.tableLocator()).toHaveCount(1, { timeout: 10 * 1000 }); + }).toPass({ timeout: 60 * 1000 }); + await kitListTable.searchByColumn(KitsColumnsEnum.SHIPPING_ID, shippingID); + await expect(async () => { + // create label could take some time + await errorPage.reloadKitList(); + await expect(kitListTable.rows).toHaveCount(1, { timeout: 10 * 1000 }); + }).toPass({ timeout: 90 * 1000 }); + }); + + // For blood kit, requires tracking label + await test.step('Create tracking label', async () => { + const trackingScanPage = await navigation.selectFromSamples(SamplesNavEnum.TRACKING_SCAN); + await trackingScanPage.assertPageTitle(); + const trackingLabel = `tracking-${crypto.randomUUID().toString().substring(0, 10)}`; + await trackingScanPage.fillScanPairs([trackingLabel, kitLabel]); + await trackingScanPage.save(); + }); + + await test.step('Final scan', async () => { + const finalScanPage = await navigation.selectFromSamples(SamplesNavEnum.FINAL_SCAN); + await finalScanPage.waitForReady(); + await finalScanPage.fillScanPairs([kitLabel, shippingID]); + await finalScanPage.save(); + }); + + await test.step('Verification: Kit is no longer listed on Kit without Label page', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.selectKitType(kitType); + const kitsTable = kitsWithoutLabelPage.kitsWithoutLabelTable; + await kitsTable.searchByColumn(KitsColumnsEnum.SHORT_ID, shortID); + await expect(kitsTable.rowLocator()).toHaveCount(0); + }); + + await test.step('Verification: Kit sent', async () => { + const kitsSentPage = await navigation.selectFromSamples(SamplesNavEnum.SENT); + await kitsSentPage.waitForLoad(); + await kitsSentPage.selectKitType(kitType); + await kitsSentPage.search(KitsColumnsEnum.MF_CODE, kitLabel); + await kitsSentPage.assertDisplayedRowsCount(1); + }); + }); + } +}) diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts index cc4dc07afa..7eaed2b09e 100644 --- a/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts +++ b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts @@ -8,7 +8,7 @@ import ParticipantListPage from 'dsm/pages/participant-list-page'; import {StudyNavEnum} from 'dsm/component/navigation/enums/studyNav-enum'; import ParticipantPage from 'dsm/pages/participant-page/participant-page'; import {KitUploadInfo} from 'dsm/pages/kitUpload-page/models/kitUpload-model'; -import ContactInformationTab from 'dsm/component/tabs/contactInformationTab'; +import ContactInformationTab from 'dsm/component/tabs/contact-information-tab'; import {TabEnum} from 'dsm/component/tabs/enums/tab-enum'; import {SamplesNavEnum} from 'dsm/component/navigation/enums/samplesNav-enum'; import {KitTypeEnum} from 'dsm/component/kitType/enums/kitType-enum'; @@ -16,7 +16,7 @@ import KitUploadPage from 'dsm/pages/kitUpload-page/kitUpload-page'; import InitialScanPage from 'dsm/pages/scanner-pages/initialScan-page'; import FinalScanPage from 'dsm/pages/scanner-pages/finalScan-page'; import crypto from 'crypto'; -import SampleInformationTab from 'dsm/component/tabs/sampleInformationTab'; +import SampleInformationTab from 'dsm/component/tabs/sample-information-tab'; import {SampleInfoEnum} from 'dsm/component/tabs/enums/sampleInfo-enum'; import {SampleStatusEnum} from 'dsm/component/tabs/enums/sampleStatus-enum'; import KitsWithoutLabelPage from 'dsm/pages/kitsInfo-pages/kitsWithoutLabel-page'; @@ -51,7 +51,7 @@ test.describe('Blood Kits upload flow', () => { }); for (const study of studies) { - test(`Should upload a single kit for one participant @functional @visual @dsm @${study}`, async ({page}, testInfo) => { + test(`Should upload a single kit for one participant @functional @dsm @${study}`, async ({page}, testInfo) => { testResultDir = testInfo.outputDir; await welcomePage.selectStudy(study); @@ -78,17 +78,16 @@ test.describe('Blood Kits upload flow', () => { // collects data from the contact information tab if the tab is available if (isContactInformationTabVisible) { const contactInformationTab = await participantPage.clickTab(TabEnum.CONTACT_INFORMATION); - kitUploadInfo.street1 = (await contactInformationTab.getStreet1()) || kitUploadInfo.street1; - kitUploadInfo.city = (await contactInformationTab.getCity()) || kitUploadInfo.city; - kitUploadInfo.postalCode = (await contactInformationTab.getZip()) || kitUploadInfo.postalCode; - kitUploadInfo.state = (await contactInformationTab.getState()) || kitUploadInfo.state; - kitUploadInfo.country = (await contactInformationTab.getCountry()) || kitUploadInfo.country; + kitUploadInfo.address.street1 = (await contactInformationTab.getStreet1()) || kitUploadInfo.address.street1; + kitUploadInfo.address.city = (await contactInformationTab.getCity()) || kitUploadInfo.address.city; + kitUploadInfo.address.postalCode = (await contactInformationTab.getZip()) || kitUploadInfo.address.postalCode; + kitUploadInfo.address.state = (await contactInformationTab.getState()) || kitUploadInfo.address.state; + kitUploadInfo.address.country = (await contactInformationTab.getCountry()) || kitUploadInfo.address.country; } // deactivate all kits for the participant const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); - await kitsWithoutLabelPage.waitForLoad(); - await kitsWithoutLabelPage.assertPageTitle(); + await kitsWithoutLabelPage.waitForReady(); await kitsWithoutLabelPage.selectKitType(kitType); await kitsWithoutLabelPage.assertCreateLabelsBtn(); await kitsWithoutLabelPage.assertReloadKitListBtn(); @@ -97,8 +96,7 @@ test.describe('Blood Kits upload flow', () => { // Uploads kit const kitUploadPage = await navigation.selectFromSamples(SamplesNavEnum.KIT_UPLOAD); - await kitUploadPage.waitForLoad(); - await kitUploadPage.assertPageTitle(); + await kitUploadPage.waitForReady(); await kitUploadPage.assertDisplayedKitTypes(expectedKitTypes); await kitUploadPage.selectKitType(kitType); await kitUploadPage.assertBrowseBtn(); @@ -115,7 +113,7 @@ test.describe('Blood Kits upload flow', () => { // Kits without label for extracting a shipping ID await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); - await kitsWithoutLabelPage.waitForLoad(); + await kitsWithoutLabelPage.waitForReady(); await kitsWithoutLabelPage.selectKitType(kitType); await kitsWithoutLabelPage.assertCreateLabelsBtn(); await kitsWithoutLabelPage.assertReloadKitListBtn(); @@ -172,11 +170,9 @@ test.describe('Blood Kits upload flow', () => { await participantListTable.openParticipantPageAt(0); await participantPage.assertPageTitle(); const sampleInformationTab = await participantPage.clickTab(TabEnum.SAMPLE_INFORMATION); - await sampleInformationTab.assertKitType(kitLabel, kitType) - await sampleInformationTab - .assertValue(kitLabel, {info: SampleInfoEnum.STATUS, value: SampleStatusEnum.RECEIVED}) - await sampleInformationTab - .assertValue(kitLabel, {info: SampleInfoEnum.RECEIVED, value: receivedDate}) + await sampleInformationTab.assertKitType(kitLabel, kitType); + await sampleInformationTab.assertValue(kitLabel, {info: SampleInfoEnum.STATUS, value: SampleStatusEnum.RECEIVED}); + await sampleInformationTab.assertValue(kitLabel, {info: SampleInfoEnum.RECEIVED, value: receivedDate}); }) } }) diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png new file mode 100644 index 0000000000..ba59e3deae Binary files /dev/null and b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png new file mode 100644 index 0000000000..ba59e3deae Binary files /dev/null and b/playwright-e2e/tests/dsm/kitUploadFlow/blood-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png differ diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-prefix-check.spec.ts b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-prefix-check.spec.ts new file mode 100644 index 0000000000..5f1265c7dd --- /dev/null +++ b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-prefix-check.spec.ts @@ -0,0 +1,207 @@ +import { expect } from '@playwright/test'; +import { test } from 'fixtures/dsm-fixture'; +import crypto from 'crypto'; +import * as mock from 'data/mock-address.json'; +import { KitTypeEnum } from 'dsm/component/kitType/enums/kitType-enum'; +import { SamplesNavEnum } from 'dsm/component/navigation/enums/samplesNav-enum'; +import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import { StudyNavEnum } from 'dsm/component/navigation/enums/studyNav-enum'; +import { Navigation } from 'dsm/component/navigation/navigation'; +import KitUploadPage from 'dsm/pages/kitUpload-page/kitUpload-page'; +import { KitUploadInfo } from 'dsm/pages/kitUpload-page/models/kitUpload-model'; +import { KitsColumnsEnum } from 'dsm/pages/kitsInfo-pages/enums/kitsColumns-enum'; +import KitsSentPage from 'dsm/pages/kitsInfo-pages/kitsSentPage'; +import KitsWithoutLabelPage from 'dsm/pages/kitsInfo-pages/kitsWithoutLabel-page'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import ParticipantPage from 'dsm/pages/participant-page/participant-page'; +import ErrorPage from 'dsm/pages/samples/error-page'; +import FinalScanPage from 'dsm/pages/scanner-pages/finalScan-page'; +import { WelcomePage } from 'dsm/pages/welcome-page'; +import { logInfo } from 'utils/log-utils'; +import { waitForResponse } from 'utils/test-utils'; +import InitialScanPage from 'dsm/pages/scanner-pages/initialScan-page'; + +/** + * Prefix check for Saliva kit with Canada and New York address for Osteo2 + * + * For Saliva kit: + * - Upload a kit with address for Canada or NY state + * - Create kit label + * - Kit will be on Error page + * - Initial scan (with a 14 char kit label) + * - Final scan + */ + +// don't run in parallel +test.describe.serial('Saliva Kit Upload with a Canadian or New York address', () => { + let welcomePage: WelcomePage; + let navigation: Navigation; + let participantPage: ParticipantPage; + let shippingID: string; + let kitUploadInfo: KitUploadInfo; + let shortID: string; + + const studies = [StudyEnum.OSTEO2]; + const kitType = KitTypeEnum.SALIVA; + const expectedKitTypes = [KitTypeEnum.SALIVA, KitTypeEnum.BLOOD]; + const kitLabel = `saliva-${crypto.randomUUID().toString().substring(0, 7)}`; // alphanumerical string length should be 14 + + const mockedCanadaAddress = { + street1: mock.canada.street, + street2: mock.canada.street2, + city: mock.canada.city, + postalCode: mock.canada.zip, + state: mock.canada.state.abbreviation, + country: mock.canada.country.abbreviation, + } + + const mockedNewYorkAddress = { + street1: mock.newyork.street, + street2: mock.newyork.street2, + city: mock.newyork.city, + postalCode: mock.newyork.zip, + state: mock.newyork.state.abbreviation, + country: mock.newyork.country.abbreviation, + } + + test.beforeEach(({ page, request }) => { + welcomePage = new WelcomePage(page); + navigation = new Navigation(page, request); + }); + + for (const [index, study] of studies.entries()) { + test(`Kit prefix check @cmi @dsm @${study} @kit`, async ({ page }, testInfo) => { + const testResultDir = testInfo.outputDir; + + await welcomePage.selectStudy(study); + + await test.step('Find a suitable participant', async () => { + const participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); + await participantListPage.waitForReady(); + + // Find an existing suitable participant + const testParticipantIndex = await participantListPage.findParticipantForKitUpload(); + + // Collects all the necessary data for kit upload + const participantListTable = participantListPage.participantListTable; + participantPage = await participantListTable.openParticipantPageAt(testParticipantIndex); + }); + + await test.step('Collect participant information', async () => { + shortID = await participantPage.getShortId(); + const firstName = await participantPage.getFirstName(); + const lastName = await participantPage.getLastName(); + expect(shortID).toBeTruthy(); + expect(firstName).toBeTruthy(); + expect(lastName).toBeTruthy(); + logInfo(`shortId: ${shortID}`); + + kitUploadInfo = new KitUploadInfo( + shortID, + firstName, + lastName, + Math.round(Math.random() * 1) === 0 ? mockedCanadaAddress : mockedNewYorkAddress + ); + }); + + await test.step('Deactivate existing blood and saliva kits', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + // Note: This could break other Kit tests running concurrently + for (const kit of expectedKitTypes) { + await kitsWithoutLabelPage.selectKitType(kit); + await kitsWithoutLabelPage.deactivateAllKitsFor(shortID); + } + }); + + await test.step('Upload new saliva kit', async () => { + const kitUploadPage = await navigation.selectFromSamples(SamplesNavEnum.KIT_UPLOAD); + await kitUploadPage.waitForReady(); + await kitUploadPage.assertPageTitle(); + await kitUploadPage.selectKitType(kitType); + await kitUploadPage.skipAddressValidation(true); // because mocked address is different from participant's address + await kitUploadPage.assertBrowseBtn(); + await kitUploadPage.assertUploadKitsBtn(); + await kitUploadPage.uploadFile(kitType, [kitUploadInfo], study, testResultDir); + }); + + await test.step('Create kit label', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.selectKitType(kitType); + await kitsWithoutLabelPage.assertCreateLabelsBtn(); + await kitsWithoutLabelPage.assertReloadKitListBtn(); + await kitsWithoutLabelPage.assertTableHeader(); + await kitsWithoutLabelPage.assertPageTitle(); + + const kitsTable = kitsWithoutLabelPage.kitsWithoutLabelTable; + await kitsTable.searchByColumn(KitsColumnsEnum.SHORT_ID, shortID); + await expect(kitsTable.rowLocator()).toHaveCount(1); + shippingID = (await kitsTable.getRowText(0, KitsColumnsEnum.SHIPPING_ID)).trim(); + + await kitsTable.selectSingleRowByIndex(); + await Promise.all([ + waitForResponse(page, { uri: '/kitLabel' }), + kitsWithoutLabelPage.createLabelsButton.click() + ]); + await Promise.all([ + expect(page.locator('[data-icon="cog"]')).toBeVisible(), + expect(page.locator('h3')).toHaveText(/Triggered label creation/i) + ]); + logInfo(`shippingID: ${shippingID}`); + }); + + // New kit will be listed on Error page because address is in either Canada or New York + await test.step('New kit will be listed on Error page', async () => { + const errorPage = await navigation.selectFromSamples(SamplesNavEnum.ERROR); + const kitListTable = errorPage.kitListTable; + await errorPage.waitForReady(); + await errorPage.selectKitType(kitType); + await expect(async () => { + const noKit = await page.getByText('There are no kit requests').isVisible(); + if (noKit) { + await errorPage.reloadKitList(); + } + await expect(kitListTable.tableLocator()).toHaveCount(1, { timeout: 10 * 1000 }); + }).toPass({ timeout: 60 * 1000 }); + await kitListTable.searchByColumn(KitsColumnsEnum.SHIPPING_ID, shippingID); + await expect(async () => { + // create label (previous step) could take some time + await errorPage.reloadKitList(); + await expect(kitListTable.rows).toHaveCount(1, { timeout: 10 * 1000 }); + }).toPass({ timeout: 90 * 1000 }); + }); + + await test.step('Initial scan', async () => { + const initialScanPage = await navigation.selectFromSamples(SamplesNavEnum.INITIAL_SCAN); + await initialScanPage.assertPageTitle(); + await initialScanPage.fillScanPairs([kitLabel, shortID]); + await initialScanPage.save(); + }); + + await test.step('Final scan', async () => { + const finalScanPage = await navigation.selectFromSamples(SamplesNavEnum.FINAL_SCAN); + await finalScanPage.waitForReady(); + await finalScanPage.fillScanPairs([kitLabel, shippingID]); + await finalScanPage.save(); + }); + + await test.step('Verification: Kit is no longer listed on Kit without Label page', async () => { + const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); + await kitsWithoutLabelPage.waitForReady(); + await kitsWithoutLabelPage.selectKitType(kitType); + const kitsTable = kitsWithoutLabelPage.kitsWithoutLabelTable; + await kitsTable.searchByColumn(KitsColumnsEnum.SHORT_ID, shortID); + await expect(kitsTable.rowLocator()).toHaveCount(0); + }); + + await test.step('Verification: Kit sent', async () => { + const kitsSentPage = await navigation.selectFromSamples(SamplesNavEnum.SENT); + await kitsSentPage.waitForLoad(); + await kitsSentPage.selectKitType(kitType); + await kitsSentPage.search(KitsColumnsEnum.MF_CODE, kitLabel); + await kitsSentPage.assertDisplayedRowsCount(1); + }); + }); + } +}) diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts index 71afc1bb28..9a567f94a5 100644 --- a/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts +++ b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts @@ -8,7 +8,7 @@ import ParticipantListPage from 'dsm/pages/participant-list-page'; import {StudyNavEnum} from 'dsm/component/navigation/enums/studyNav-enum'; import ParticipantPage from 'dsm/pages/participant-page/participant-page'; import {KitUploadInfo} from 'dsm/pages/kitUpload-page/models/kitUpload-model'; -import ContactInformationTab from 'dsm/component/tabs/contactInformationTab'; +import ContactInformationTab from 'dsm/component/tabs/contact-information-tab'; import {TabEnum} from 'dsm/component/tabs/enums/tab-enum'; import {SamplesNavEnum} from 'dsm/component/navigation/enums/samplesNav-enum'; import {KitTypeEnum} from 'dsm/component/kitType/enums/kitType-enum'; @@ -16,7 +16,7 @@ import KitUploadPage from 'dsm/pages/kitUpload-page/kitUpload-page'; import InitialScanPage from 'dsm/pages/scanner-pages/initialScan-page'; import FinalScanPage from 'dsm/pages/scanner-pages/finalScan-page'; import crypto from 'crypto'; -import SampleInformationTab from 'dsm/component/tabs/sampleInformationTab'; +import SampleInformationTab from 'dsm/component/tabs/sample-information-tab'; import {SampleInfoEnum} from 'dsm/component/tabs/enums/sampleInfo-enum'; import {SampleStatusEnum} from 'dsm/component/tabs/enums/sampleStatus-enum'; import KitsWithoutLabelPage from 'dsm/pages/kitsInfo-pages/kitsWithoutLabel-page'; @@ -45,7 +45,7 @@ test.describe('Saliva Kits upload flow', () => { }); for (const study of studies) { - test(`Should upload a single kit for one participant @functional @visual @dsm @${study}`, async ({page}, testInfo) => { + test(`Should upload a single kit for one participant @functional @dsm @${study}`, async ({page}, testInfo) => { testResultDir = testInfo.outputDir; await welcomePage.selectStudy(study); @@ -77,17 +77,16 @@ test.describe('Saliva Kits upload flow', () => { // collects data from the contact information tab if the tab is available if (isContactInformationTabVisible) { const contactInformationTab = await participantPage.clickTab(TabEnum.CONTACT_INFORMATION); - kitUploadInfo.street1 = (await contactInformationTab.getStreet1()) || kitUploadInfo.street1; - kitUploadInfo.city = (await contactInformationTab.getCity()) || kitUploadInfo.city; - kitUploadInfo.postalCode = (await contactInformationTab.getZip()) || kitUploadInfo.postalCode; - kitUploadInfo.state = (await contactInformationTab.getState()) || kitUploadInfo.state; - kitUploadInfo.country = (await contactInformationTab.getCountry()) || kitUploadInfo.country; + kitUploadInfo.address.street1 = (await contactInformationTab.getStreet1()) || kitUploadInfo.address.street1; + kitUploadInfo.address.city = (await contactInformationTab.getCity()) || kitUploadInfo.address.city; + kitUploadInfo.address.postalCode = (await contactInformationTab.getZip()) || kitUploadInfo.address.postalCode; + kitUploadInfo.address.state = (await contactInformationTab.getState()) || kitUploadInfo.address.state; + kitUploadInfo.address.country = (await contactInformationTab.getCountry()) || kitUploadInfo.address.country; } // deactivate all kits for the participant const kitsWithoutLabelPage = await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); - await kitsWithoutLabelPage.waitForLoad(); - await kitsWithoutLabelPage.assertPageTitle(); + await kitsWithoutLabelPage.waitForReady(); await kitsWithoutLabelPage.selectKitType(kitType); await kitsWithoutLabelPage.assertCreateLabelsBtn(); await kitsWithoutLabelPage.assertReloadKitListBtn(); @@ -96,7 +95,7 @@ test.describe('Saliva Kits upload flow', () => { // Uploads kit const kitUploadPage = await navigation.selectFromSamples(SamplesNavEnum.KIT_UPLOAD); - await kitUploadPage.waitForLoad(); + await kitUploadPage.waitForReady(); await kitUploadPage.assertPageTitle(); await kitUploadPage.assertDisplayedKitTypes(expectedKitTypes); await kitUploadPage.selectKitType(kitType); @@ -114,7 +113,7 @@ test.describe('Saliva Kits upload flow', () => { // Kits without label for extracting a shipping ID await navigation.selectFromSamples(SamplesNavEnum.KITS_WITHOUT_LABELS); - await kitsWithoutLabelPage.waitForLoad(); + await kitsWithoutLabelPage.waitForReady(); await kitsWithoutLabelPage.selectKitType(kitType); await kitsWithoutLabelPage.assertCreateLabelsBtn(); await kitsWithoutLabelPage.assertReloadKitListBtn(); @@ -185,7 +184,7 @@ test.describe('Saliva Kits upload flow', () => { async function sampleTypeCheck(kitUploadInfo: KitUploadInfo, sentOrReceivedPage: KitsSentPage | KitsReceivedPage): Promise { const sampleType = await sentOrReceivedPage.getData(KitsColumnsEnum.SAMPLE_TYPE); - const {country, state} = kitUploadInfo; - const isResearchKit = (country === 'US' && state === 'NY') || country === 'CA'; + const {address} = kitUploadInfo; + const isResearchKit = (address.country === 'US' && address.state === 'NY') || address.country === 'CA'; expect(sampleType.trim()).toBe(isResearchKit ? SampleTypesEnum.RESEARCH : SampleTypesEnum.CLINICAL) } diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png new file mode 100644 index 0000000000..ba59e3deae Binary files /dev/null and b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png new file mode 100644 index 0000000000..ba59e3deae Binary files /dev/null and b/playwright-e2e/tests/dsm/kitUploadFlow/saliva-kit-upload-flow.spec.ts-snapshots/upload-instructions-kit-linux.png differ diff --git a/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts b/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts index 2528e2bd02..c36c94d1d9 100644 --- a/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts +++ b/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts @@ -71,7 +71,7 @@ test.describe.serial('Join Pancan Mailing List', () => { const dateInJson = getDate(new Date(parseInt(item.dateCreated) * 1000)); // Transform to dd/mm/yyyy const emailInJson = item.email; const finding = lodash.filter(rows, row => row.email === emailInJson && row.dateCreated === dateInJson); - expect(finding.length).toEqual(1); + expect(finding.length).toBe(1); }); // Verify Mailing List table @@ -88,12 +88,12 @@ test.describe.serial('Join Pancan Mailing List', () => { await mailingListPage.reload(); // page reload to trigger new request await table.sort(COLUMN.DATE, SortOrder.DESC); // Sorting to get newest record to display first const cell = await table.findCell(COLUMN.EMAIL, newEmail, COLUMN.EMAIL); - await expect(cell).toBeTruthy(); - }).toPass(); + expect(cell).toBeTruthy(); + }).toPass({ timeout: 30000 }); // Verify date signed up is found inside table const tCell = await table.findCell(COLUMN.EMAIL, newEmail, COLUMN.DATE, { exactMatch: false }); - await expect(tCell, `Find column ${COLUMN.DATE} in Mailing List table`).toBeTruthy(); + expect(tCell, `Find column ${COLUMN.DATE} in Mailing List table`).toBeTruthy(); // Retrieve new Pancan user Date Signed Up from API response body, compare with what's displayed in table const user: MailListCSV[] = lodash.filter(respJson, row => row.email === newEmail); diff --git a/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts-snapshots/stay-informed-modal-dsm-linux.png b/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts-snapshots/stay-informed-modal-dsm-linux.png new file mode 100644 index 0000000000..1dc8eb893f Binary files /dev/null and b/playwright-e2e/tests/dsm/mailing-list/pancan-mail-list-download.spec.ts-snapshots/stay-informed-modal-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts index 237bdb8cf5..853771feb5 100644 --- a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts +++ b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts @@ -95,7 +95,7 @@ test.describe.serial('When an interested participant does NOT meet participation }); expect(finding.length, `Matching record for email: "${emailInJson}" and dateCreated: "${dateInJson}" in downloaded csv file.`) - .toEqual(1); + .toBe(1); }); // Verify Mailing List table @@ -109,11 +109,11 @@ test.describe.serial('When an interested participant does NOT meet participation // Verify new RGP participant email is found inside table await table.sort(COLUMN.DATE, SortOrder.DESC); // Sorting to get newest record to display first let tCell = await table.findCell(COLUMN.EMAIL, newEmail, COLUMN.EMAIL); - await expect(tCell, `Matching email ${newEmail} in Mailing List table`).toBeTruthy(); + expect(tCell, `Matching email ${newEmail} in Mailing List table`).toBeTruthy(); // Verify date signed up is found inside table tCell = await table.findCell(COLUMN.EMAIL, newEmail, COLUMN.DATE, { exactMatch: false }); - await expect(tCell, `Find column ${COLUMN.DATE} in Mailing List table`).toBeTruthy(); + expect(tCell, `Find column ${COLUMN.DATE} in Mailing List table`).toBeTruthy(); // Retrieve new RGP user Date Signed Up from API response body, compare with what's displayed in table const user: MailListCSV[] = lodash.filter(respJson, row => row.email === newEmail); diff --git a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/delete-info-request-message-dsm-linux.png b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/delete-info-request-message-dsm-linux.png new file mode 100644 index 0000000000..683c22242e Binary files /dev/null and b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/delete-info-request-message-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/join-mailing-list-message-dsm-linux.png b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/join-mailing-list-message-dsm-linux.png new file mode 100644 index 0000000000..7239c81cd7 Binary files /dev/null and b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/join-mailing-list-message-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-header-message-dsm-linux.png b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-header-message-dsm-linux.png new file mode 100644 index 0000000000..68854ad554 Binary files /dev/null and b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-header-message-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-list-dsm-linux.png b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-list-dsm-linux.png new file mode 100644 index 0000000000..4bb5830019 Binary files /dev/null and b/playwright-e2e/tests/dsm/mailing-list/rgp-mail-list-download.spec.ts-snapshots/requirement-list-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/create-follow-up-survey.spec.ts b/playwright-e2e/tests/dsm/miscellaneous/create-follow-up-survey.spec.ts index b94b71ebca..ad1bbe6bd6 100644 --- a/playwright-e2e/tests/dsm/miscellaneous/create-follow-up-survey.spec.ts +++ b/playwright-e2e/tests/dsm/miscellaneous/create-follow-up-survey.spec.ts @@ -5,6 +5,7 @@ import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; import FollowUpSurveyPage from 'dsm/pages/follow-up-survey-page'; import { getDate } from 'utils/date-utils'; import { generateAlphaNumeric, generateRandomNum } from 'utils/faker-utils'; +import { waitForResponse } from 'utils/test-utils'; test.describe('Create Follow-Up Survey', () => { @@ -63,15 +64,15 @@ test.describe('Create Follow-Up Survey', () => { await followupSurveyPage.createSurvey(); // Verify new survey created - const responsePromise = page.waitForResponse(resp => resp.url().includes('surveyName=')); + const responsePromise = waitForResponse(page, { uri: 'surveyName=' }); await followupSurveyPage.reloadTable(); const response = await responsePromise; const json = JSON.parse(await response.text()); const filterResult = json.filter((item: { surveyInfo: { participantId: string | null; }; reason: string; }) => { return item.surveyInfo.participantId === participantId && item.reason === reason - }) - await expect(filterResult.length).toEqual(1); + }); + expect(filterResult.length).toBe(1); }); } @@ -92,4 +93,4 @@ test.describe('Create Follow-Up Survey', () => { } return survey; } -}) +}); diff --git a/playwright-e2e/tests/dsm/miscellaneous/participant-withdrawal.spec.ts b/playwright-e2e/tests/dsm/miscellaneous/participant-withdrawal.spec.ts index 0a917ecd12..c465f09954 100644 --- a/playwright-e2e/tests/dsm/miscellaneous/participant-withdrawal.spec.ts +++ b/playwright-e2e/tests/dsm/miscellaneous/participant-withdrawal.spec.ts @@ -16,7 +16,7 @@ test.describe('Participants Withdrawal', () => { const studies = [StudyEnum.LMS]; for (const study of studies) { - test(`In ${study} @dsm`, async ({ page, request }) => { + test(`In @${study} @dsm`, async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, study, request); const participantsTable = participantListPage.participantListTable; @@ -31,9 +31,9 @@ test.describe('Participants Withdrawal', () => { // Search for Status NOT EQUALS TO Exited before/after Enrollment const searchPanel = participantListPage.filters.searchPanel; await searchPanel.open(); - // eslint-disable-next-line max-len - await searchPanel.text('First Name', { textValue: user.adult.firstName, additionalFilters: [AdditionalFilter.EXACT_MATCH], exactMatch: false }); - await searchPanel.checkboxes('Status', { checkboxValues: ['Enrolled', 'Lost to Followup', 'Registered'] }); + await searchPanel.text('First Name', + { textValue: user.adult.firstName, additionalFilters: [AdditionalFilter.EXACT_MATCH], exactMatch: false }); + await searchPanel.checkboxes('Status', { checkboxValues: ['Enrolled', 'Registered'] }); await searchPanel.search(); // At least one participant after search @@ -79,7 +79,7 @@ test.describe('Participants Withdrawal', () => { await withdrawalPage.withdrawParticipant(participantId); logParticipantWithdrew(participantId, shortIdColumnId, registrationDate); - // Reload Participant List page + // Reload Participant List page to verify status has changed const navigation = new Navigation(page, request); await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); await participantListPage.waitForReady(); @@ -88,16 +88,15 @@ test.describe('Participants Withdrawal', () => { await customizeViewPanel.selectColumns('Participant Columns', ['Participant ID']); await searchPanel.open(); - // Search until withdrew participant id is found and status is Exited + await searchPanel.clear(); + await searchPanel.text('Participant ID', { textValue: participantId }); + /// Status of PT should update to “Exited after enrollment” or “Exited before enrollment” await expect(async () => { - await searchPanel.clear(); - await searchPanel.text('Participant ID', { textValue: participantId }); - await searchPanel.search(); - await expect(participantsTable.rowLocator()).toHaveCount(1); - const participantStatus = await participantsTable.findCell('Participant ID', participantId, 'Status'); - // Status of PT is now “Exited after enrollment” or “Exited before enrollment” - await expect(participantStatus!).toHaveText(/Exited (before|after) Enrollment/); - }).toPass(); + await page.waitForTimeout(1000); + await searchPanel.search(); + const participantStatus = await participantsTable.findCell('Participant ID', participantId, 'Status'); + expect(await participantStatus!.innerText()).toMatch(/Exited (before|after) Enrollment/); + }).toPass({ timeout: 50000 }); // At Participant Page, verify few detail const participantPage: ParticipantPage = await participantsTable.openParticipantPageAt(0); diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts index a658d8d8ad..622965b417 100644 --- a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts +++ b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts @@ -16,7 +16,7 @@ test.describe('Follow-Up Surveys', () => { const configuredSurveys = surveysForStudy(followupSurveyPage, study); const actualSurveyOptions = await followupSurveyPage.select().getAllOptions(); - expect(actualSurveyOptions).toEqual(configuredSurveys); + expect(actualSurveyOptions).toEqual(expect.arrayContaining(configuredSurveys)); }); test(`Shows previous triggered surveys in @${study} @dsm @functional`, async ({ page, request }) => { diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Angio-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Angio-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Angio-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/ESC-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/ESC-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/ESC-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Leiomyosarcoma-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Leiomyosarcoma-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Leiomyosarcoma-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/OS-PE-CGS-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/OS-PE-CGS-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/OS-PE-CGS-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Osteo-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Osteo-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Osteo-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/PanCan-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/PanCan-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/PanCan-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Prostate-instructions-dsm-linux.png b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Prostate-instructions-dsm-linux.png new file mode 100644 index 0000000000..28371ac1d5 Binary files /dev/null and b/playwright-e2e/tests/dsm/miscellaneous/show-follow-up-survey.spec.ts-snapshots/Prostate-instructions-dsm-linux.png differ diff --git a/playwright-e2e/tests/dsm/participant-list-calendar-date-picker.spec.ts b/playwright-e2e/tests/dsm/participant-list-calendar-date-picker.spec.ts new file mode 100644 index 0000000000..abb415c9aa --- /dev/null +++ b/playwright-e2e/tests/dsm/participant-list-calendar-date-picker.spec.ts @@ -0,0 +1,91 @@ +import { expect } from '@playwright/test'; +import { CustomViewColumns } from 'dsm/component/filters/sections/search/search-enums'; +import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import { test } from 'fixtures/dsm-fixture'; +import { getDate } from 'utils/date-utils'; +import { logInfo } from 'utils/log-utils'; + +test.describe('DSM Date Picker', () => { + const study = StudyEnum.ANGIO; + const dobColumn = 'Date of Birth'; + // DoB is 12/20/1995 + const dob = { + yyyy: 1995, + month: 11, // December because month is 0-indexed + dayOfMonth: 20 + } + + test('Select date from calendar for Date of Birth on Participant List page @dsm @angio @functional @participant-list', + async ({ page, request }) => { + const today = new Date(); + const formatedDate = getDate(today); + const splits = formatedDate.split('/'); // mm/dd/yyyy + const date = splits[1]; + const month = today.toLocaleString('default', { month: 'long' }); + const year = splits[2]; + + const participantListPage = await ParticipantListPage.goto(page, study, request); + + const customizeViewPanel = participantListPage.filters.customizeViewPanel; + await customizeViewPanel.open(); + await customizeViewPanel.selectColumns(CustomViewColumns.RESEARCH_CONSENT_FORM, ['Date of Birth']); + + const searchPanel = participantListPage.filters.searchPanel; + await searchPanel.open(); + + // Open Date of Birth Date picker + const calendar = await searchPanel.openDatePicker('Date of Birth', { open: true }); + expect(calendar.isVisible()).toBeTruthy(); + + // Day picker + const calendarDayPicker = calendar.dayPicker(); + + const dayOfWeekLabel = calendarDayPicker.locator('th').filter({ has: page.locator('[aria-label="labelz.full"]') }); + await expect(dayOfWeekLabel).toHaveText(['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa']); + + // Today's date is highlighted by default + await expect(calendarDayPicker.locator('td button.active')).toHaveText(date.toString(), { useInnerText: true }); + + // Open Month picker + await calendarDayPicker.locator('th button[id]').click(); + + // Month picker + const calendarMonthPicker = calendar.monthPicker(); + + // Today's month is highlighted by default + await expect(calendarMonthPicker.locator('td button.active')).toHaveText(month.toString(), { useInnerText: true }); + + // All months are visible + await expect(calendarMonthPicker.locator('td button')).toHaveText( + ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']); + + // Open Year picker + await calendarMonthPicker.locator('th button[id]').click(); + + // Year picker + const calendarYearPicker = calendar.yearPicker(); + + // Today's year is highlighted by default + await expect(calendarYearPicker.locator('td button.active')).toHaveText(year.toString(), { useInnerText: true }); + + // Close Date of Birth Date picker to reset fields + await searchPanel.openDatePicker('Date of Birth', { open: false }); + + // Reopen calendar picker to select target date + await searchPanel.openDatePicker('Date of Birth', { open: true }); + // Select 12/20/1995 + await calendar.pickDate(dob); + + // Verify date match expected + const selectDate = getDate(new Date(1995, 11, 20)); + const value = await searchPanel.textInputLocator(dobColumn).inputValue(); + expect(value).toBe(selectDate); + logInfo(`Picked date ${selectDate} from DoB calendar`); + + // Click "Today" button + await searchPanel.setTodayFor(dobColumn); + const newValue = await searchPanel.textInputLocator(dobColumn).inputValue(); + expect(newValue).toBe(formatedDate); + }); +}); diff --git a/playwright-e2e/tests/dsm/participant-list/download-all-data.spec.ts b/playwright-e2e/tests/dsm/participant-list/download-all-data.spec.ts index e54b5566f0..512db9f399 100644 --- a/playwright-e2e/tests/dsm/participant-list/download-all-data.spec.ts +++ b/playwright-e2e/tests/dsm/participant-list/download-all-data.spec.ts @@ -10,8 +10,8 @@ test.describe.parallel('Participant List Download', () => { const studies = [StudyEnum.BRUGADA, StudyEnum.OSTEO]; for (const study of studies) { - test(`Select All in ${study} @dsm @${study}`, async ({ page, request }) => { - test.setTimeout(5 * 60 * 1000); + test(`Select All in @dsm @${study}`, async ({ page, request }) => { + test.slow(); const participantListPage = await ParticipantListPage.goto(page, study, request); diff --git a/playwright-e2e/tests/dsm/participant-list/download-subset-data.spec.ts b/playwright-e2e/tests/dsm/participant-list/download-subset-data.spec.ts index 1af6998682..4c46a15f4a 100644 --- a/playwright-e2e/tests/dsm/participant-list/download-subset-data.spec.ts +++ b/playwright-e2e/tests/dsm/participant-list/download-subset-data.spec.ts @@ -11,7 +11,7 @@ test.describe('Participant List Download', () => { test.describe('As human-readable', () => { for (const study of studies) { // Mix of columns from Participant Columns and Sample Columns - test(`Subset of data in ${study} @dsm`, async ({ page, request }) => { + test(`Subset of data @dsm @${study}`, async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, study, request); const customizeViewPanel = participantListPage.filters.customizeViewPanel; @@ -28,10 +28,10 @@ test.describe('Participant List Download', () => { expect(downloadedFile).toBeTruthy(); }); } - }) + }); test.describe('As analysis-friendly', () => { - test('Subset of data in Prostate @dsm @prostate', + test('Subset of data in @dsm @prostate', async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, StudyEnum.PROSTATE, request); @@ -51,5 +51,5 @@ test.describe('Participant List Download', () => { const downloadedFile = await download.path(); expect(downloadedFile).toBeTruthy(); }); - }) -}); + }); +}) diff --git a/playwright-e2e/tests/dsm/participant-list/filter-custom-view.spec.ts b/playwright-e2e/tests/dsm/participant-list/filter-custom-view.spec.ts index 6fa188fec8..9e23a24423 100644 --- a/playwright-e2e/tests/dsm/participant-list/filter-custom-view.spec.ts +++ b/playwright-e2e/tests/dsm/participant-list/filter-custom-view.spec.ts @@ -10,7 +10,7 @@ test.describe.fixme('Participants list search and filter', () => { const studies = [StudyEnum.LMS, StudyEnum.OSTEO2]; for (const study of studies) { - test(`Save Custom View in ${study} @dsm @${study}`, async ({ page, request }) => { + test(`Save Custom View @dsm @${study}`, async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, study, request); const participantsTable = participantListPage.participantListTable; @@ -66,7 +66,7 @@ test.describe.fixme('Participants list search and filter', () => { // Open saved custom view const savedViewPanel = participantListPage.savedFilters; await savedViewPanel.open(newViewName); - expect(await participantsTable.numOfParticipants()).toEqual(newViewNumParticipants); + expect(await participantsTable.numOfParticipants()).toBe(newViewNumParticipants); // Delete saved custom view await savedViewPanel.delete(newViewName); diff --git a/playwright-e2e/tests/dsm/participant-list/filter-registration-date.spec.ts b/playwright-e2e/tests/dsm/participant-list/filter-registration-date.spec.ts index 33e9e06c98..3f36a27140 100644 --- a/playwright-e2e/tests/dsm/participant-list/filter-registration-date.spec.ts +++ b/playwright-e2e/tests/dsm/participant-list/filter-registration-date.spec.ts @@ -6,12 +6,13 @@ import { MainInfoEnum } from 'dsm/pages/participant-page/enums/main-info-enum'; import ParticipantListPage from 'dsm/pages/participant-list-page'; import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; import { getDate, offsetDaysFromToday } from 'utils/date-utils'; +import { logInfo } from 'utils/log-utils'; test.describe('Participants Search', () => { const studies = [StudyEnum.LMS, StudyEnum.OSTEO2]; for (const study of studies) { - test(`Search by Registration Date in ${study} @dsm @${study}`, async ({ page, request }) => { + test(`Search by Registration Date @dsm @${study}`, async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, study, request); const participantsTable = participantListPage.participantListTable; @@ -25,7 +26,6 @@ test.describe('Participants Search', () => { // Save Registration Date found on first row for use in search const registrationDate = await participantsTable.getParticipantDataAt(0, MainInfoEnum.REGISTRATION_DATE); const randomDate = getDate(new Date(registrationDate)); // Returns a formatted date mm/dd/yyyy - // console.log('Search by registration date: ', randomDate); // Search by random date const searchPanel = participantListPage.filters.searchPanel; @@ -34,10 +34,8 @@ test.describe('Participants Search', () => { await searchPanel.search(); const numParticipants1 = await participantsTable.numOfParticipants(); - // console.log(`Search by Registration Date ${randomDate} returns ${numParticipants1} participants`); expect(numParticipants1).toBeGreaterThanOrEqual(1); - // Check first row data // Verify Registration Date const headerIndex = await participantsTable.getHeaderIndex(MainInfoEnum.REGISTRATION_DATE); @@ -50,7 +48,7 @@ test.describe('Participants Search', () => { // Verify First Short ID is not empty or null and length is 6 const shortId = await participantsTable.getParticipantDataAt(0, 'Short ID'); expect(shortId).toBeTruthy(); - expect(shortId.length).toEqual(6); + expect(shortId.length).toBe(6); // Search filter with date range (don't need to open Search panel because it does not close automatically) const today = getDate(new Date()); @@ -59,9 +57,9 @@ test.describe('Participants Search', () => { await searchPanel.search(); const numParticipants2 = await participantsTable.numOfParticipants(); - console.log(`Search by Registration Date Range (from: ${yearAgo}, to: ${today}) returns ${numParticipants2} participants`); + logInfo(`Search by Registration Date Range (from: ${yearAgo}, to: ${today}) returns ${numParticipants2} participants`); expect(numParticipants2).toBeGreaterThan(1); - expect(numParticipants2).not.toEqual(numParticipants1); // Expect Participants list table has reloaded and changed + expect(numParticipants2).not.toBe(numParticipants1); // Expect Participants list table has reloaded and changed // Use Registration Date column filter to verify date range in table await participantsTable.sort(MainInfoEnum.REGISTRATION_DATE, SortOrder.DESC); diff --git a/playwright-e2e/tests/dsm/participant-list/filter-short-id.spec.ts b/playwright-e2e/tests/dsm/participant-list/filter-short-id.spec.ts index ca63cc023b..74b8a53aff 100644 --- a/playwright-e2e/tests/dsm/participant-list/filter-short-id.spec.ts +++ b/playwright-e2e/tests/dsm/participant-list/filter-short-id.spec.ts @@ -8,12 +8,12 @@ test.describe('Participants Search', () => { const studies = [StudyEnum.LMS, StudyEnum.OSTEO2]; for (const study of studies) { - test(`Search by Short ID in ${study} @dsm @${study}`, async ({ page, request }) => { + test(`Search by Short ID @dsm @${study}`, async ({ page, request }) => { const participantListPage = await ParticipantListPage.goto(page, study, request); const participantsTable = participantListPage.participantListTable; // Save DDP and Short ID found on first row - const row = 0 + const row = 0; const guid = await participantsTable.getParticipantDataAt(row, 'DDP'); const shortId = await participantsTable.getParticipantDataAt(row, 'Short ID'); @@ -24,8 +24,8 @@ test.describe('Participants Search', () => { expect(await participantsTable.rowLocator().count(), `Participant List page - Displayed participants count is not 1`) - .toEqual(1); - expect(guid).toEqual(studyShortName(study).shortName); + .toBe(1); + expect(guid).toBe(studyShortName(study).shortName); }); } }); diff --git a/playwright-e2e/tests/dsm/participant-list/pancan-diagnosis-type-picklist-search.spec.ts b/playwright-e2e/tests/dsm/participant-list/pancan-diagnosis-type-picklist-search.spec.ts new file mode 100644 index 0000000000..966a2237c7 --- /dev/null +++ b/playwright-e2e/tests/dsm/participant-list/pancan-diagnosis-type-picklist-search.spec.ts @@ -0,0 +1,55 @@ +import { expect } from '@playwright/test'; +import { test } from 'fixtures/dsm-fixture'; +import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import { CustomViewColumns } from 'dsm/component/filters/sections/search/search-enums'; +import { logInfo } from 'utils/log-utils'; + +test.describe('Pancan study picklist search', () => { + // CMI research studies + const studies = [StudyEnum.PANCAN]; + const cancers = ['Lung cancers', 'Neuroblastoma (NB)', 'Gallbladder cancer', 'Small intestine cancer']; + + for (const study of studies) { + test(`@${study} @dsm`, async ({ page, request }) => { + const participantListPage = await ParticipantListPage.goto(page, study, request); + + // Select column Diagnosis_Type from Customize View + const customizeViewPanel = participantListPage.filters.customizeViewPanel; + await customizeViewPanel.open(); + await customizeViewPanel.selectColumns(CustomViewColumns.DIAGNOSIS_TYPE, ['DIAGNOSIS_TYPE']); + await customizeViewPanel.close(); + + // In the search menu, select some specific cancers along with some general one + const searchPanel = participantListPage.filters.searchPanel; + await searchPanel.open(); + await searchPanel.checkboxes('DIAGNOSIS_TYPE', {checkboxValues: cancers}); + await searchPanel.search(); + + const participantsTable = participantListPage.participantListTable; + const numParticipants = await participantsTable.getHeadersCount(); + logInfo(`Number of participants from search [${cancers}]: ${numParticipants}`); + + let participantsCount = await participantsTable.getRowsCount(); + expect(participantsCount).toBeGreaterThan(1); + + while (participantsCount > 0) { + // Verify only participants with at least one diagnosis type that match the above selected cancers are displayed + for (let i = 0; i < participantsCount; i++) { + const columnData: string = await participantsTable.getParticipantDataAt(i, 'DIAGNOSIS_TYPE'); + const exists = cancers.some(cancer => columnData.indexOf(cancer) !== -1); + expect.soft(exists).toBe(true); + } + const hasNextPage = await participantsTable.paginator.hasNext(); + if (hasNextPage) { + await participantsTable.nextPage(); + participantsCount = await participantsTable.getRowsCount(); + } else { + participantsCount = 0 + } + console.log(`participantsCount: ${participantsCount}`) + } + expect(test.info().errors).toHaveLength(0); + }); + } +}); diff --git a/playwright-e2e/tests/dsm/tissue-request-flow/cmi-tissue-request-flow.spec.ts b/playwright-e2e/tests/dsm/tissue-request-flow/cmi-tissue-request-flow.spec.ts new file mode 100644 index 0000000000..591e7174f8 --- /dev/null +++ b/playwright-e2e/tests/dsm/tissue-request-flow/cmi-tissue-request-flow.spec.ts @@ -0,0 +1,134 @@ +import {StudyEnum} from 'dsm/component/navigation/enums/selectStudyNav-enum'; +import {test} from 'fixtures/dsm-fixture'; +import ParticipantListPage from 'dsm/pages/participant-list-page'; +import {AdditionalFilter} from 'dsm/component/filters/sections/search/search-enums'; +import ParticipantPage from 'dsm/pages/participant-page/participant-page'; +import {TabEnum} from 'dsm/component/tabs/enums/tab-enum'; +import OncHistoryTab from 'dsm/component/tabs/onc-history-tab'; +import { + OncHistoryInputColumnsEnum, + OncHistorySelectRequestEnum +} from 'dsm/component/tabs/enums/onc-history-input-columns-enum'; +import {expect} from '@playwright/test'; +import {getDate} from 'utils/date-utils'; +import {TissueDynamicFieldsEnum} from 'dsm/pages/tissue-information-page/enums/tissue-information-enum'; + +test.describe('Tissue Request Flow', () => { + const studies = [StudyEnum.PANCAN]; + + for (const study of studies) { + test(`Tissue Request Flow for ${study} study @dsm @feature`, async ({page, request}) => { + const participantListPage = await ParticipantListPage.goto(page, study, request); + const customizeViewPanel = participantListPage.filters.customizeViewPanel; + const searchPanel = participantListPage.filters.searchPanel; + + await test.step('Search for the right participant', async () => { + await customizeViewPanel.open(); + await customizeViewPanel.selectColumns('Medical Record Columns', ['MR Problem']); + await customizeViewPanel.selectColumns('Participant - DSM Columns', ['Onc History Created']); + await customizeViewPanel.selectColumns('Research Consent Form Columns', ['Your Mailing Address *']); + + await searchPanel.open(); + await searchPanel.checkboxes('Status', {checkboxValues: ['Enrolled']}); + await searchPanel.checkboxes('MR Problem', {checkboxValues: ['No']}); + await searchPanel.dates('Onc History Created', {additionalFilters: [AdditionalFilter.EMPTY]}); + await searchPanel.text('Your Mailing Address *', {additionalFilters: [AdditionalFilter.NOT_EMPTY]}); + + await searchPanel.search(); + }) + + const participantListTable = participantListPage.participantListTable; + const participantPage: ParticipantPage = await participantListTable.openParticipantPageAt(0); + const oncHistoryTab = await participantPage.clickTab(TabEnum.ONC_HISTORY); + const oncHistoryTable = oncHistoryTab.table; + + await test.step('Update Onc History data - Facility', async () => { + await oncHistoryTable.fillField(OncHistoryInputColumnsEnum.FACILITY, {value: 'm', lookupSelectIndex: 1}); + }) + + await test.step('Automatically updated Onc History Created date', async () => { + await participantPage.backToList(); + await participantListTable.openParticipantPageAt(0); + + const oncHistoryCreatedDate = participantPage.oncHistoryCreatedDate(); + expect(oncHistoryCreatedDate, 'Onc History Date has not been updated').toBeTruthy(); + }) + + await participantPage.clickTab(TabEnum.ONC_HISTORY); + + await test.step('Update Onc History data - Date of PX', async () => { + await oncHistoryTable.fillField(OncHistoryInputColumnsEnum.DATE_OF_PX, + { + date: { + date: { + yyyy: new Date().getFullYear(), + month: new Date().getMonth(), + dayOfMonth: new Date().getDate() + } + } + }); + }) + + await test.step('Update Onc History data - Type of PX', async () => { + await oncHistoryTable.fillField(OncHistoryInputColumnsEnum.TYPE_OF_PX, {value: 'a', lookupSelectIndex: 4}); + }) + + await test.step('Update Onc History data - Request', async () => { + await oncHistoryTable.fillField(OncHistoryInputColumnsEnum.REQUEST, {select: OncHistorySelectRequestEnum.REQUEST}); + }) + + await test.step('Clicking Download PDF Bundle', async () => { + await oncHistoryTable.assertRowSelectionCheckbox(); + await oncHistoryTable.selectRowAt(0); + await oncHistoryTab.downloadPDFBundle(); + }) + + await test.step('Select Cover PDF - Download Request Documents', async () => { + await oncHistoryTable.selectRowAt(0); + await oncHistoryTab.downloadRequestDocuments(); + }) + + await participantPage.backToList(); + await participantListTable.openParticipantPageAt(0); + await participantPage.clickTab(TabEnum.ONC_HISTORY); + const tissueInformationPage = await oncHistoryTable.openTissueInformationPage(0); + + await test.step('Downloading Tissue Request Documents - Updates Fax Sent', async () => { + const faxSentDate1 = await tissueInformationPage.getFaxSentDate(); + const faxSentDate2 = await tissueInformationPage.getFaxSentDate(1); + const tissueReceivedDate = await tissueInformationPage.getTissueReceivedDate(); + expect(faxSentDate1.trim(), 'Fax sent date 1 is not set to today').toEqual(getDate()); + expect(faxSentDate2.trim(), 'Fax sent date 2 is not empty').toBe(''); + expect(tissueReceivedDate.trim(), 'Tissue received date is not empty').toBeFalsy(); + }) + + await test.step('Enter Tissue Received', async () => { + await tissueInformationPage.fillFaxSentDates({today: true}, {today: true}); + await tissueInformationPage.fillTissueReceivedDate({today: true}); + await tissueInformationPage.assertFaxSentDatesCount(2); + }) + + await test.step('Add Tissue Note', async () => { + await tissueInformationPage.fillNotes('Test tissue notes'); + }) + + await test.step('Add a destruction policy and click on Apply to All', async () => { + await tissueInformationPage.fillDestructionPolicy(2233, false, true); + }) + + await test.step('Add Material count', async () => { + const testValue = 21; + const tissue = await tissueInformationPage.tissue(); + await tissue.fillField(TissueDynamicFieldsEnum.USS, {inputValue: testValue}); + await tissue.fillField(TissueDynamicFieldsEnum.BLOCK, {inputValue: testValue}); + await tissue.fillField(TissueDynamicFieldsEnum.H_E, {inputValue: testValue}); + await tissue.fillField(TissueDynamicFieldsEnum.SCROLL, {inputValue: testValue}); + }) + + await test.step('Deleting OncHistory tab row', async () => { + await tissueInformationPage.addTissue(); + await tissueInformationPage.deleteTissueAt(1); + }) + }) + } +}); diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts index 581b24ea9a..f50eff7662 100644 --- a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts +++ b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts @@ -14,7 +14,7 @@ import { assertActivityHeader } from 'utils/assertion-helper'; import { getDate } from 'utils/date-utils'; import { generateUserName } from 'utils/faker-utils'; import { logParticipantCreated } from 'utils/log-utils'; -import { waitForResponse } from 'utils/test-utils'; +import { toHaveScreenshot, waitForResponse } from 'utils/test-utils'; test.describe.serial('LMS Child Enrollment', () => { let researchConsentPage: LmsResearchConsentPage; @@ -24,7 +24,9 @@ test.describe.serial('LMS Child Enrollment', () => { await expect(page.locator('.activity-step.active')).toHaveText(expectedText); }; - test('Consent & Assent @visual @enrollment @lms', async ({ page }) => { + test('Consent & Assent @dss @visual @lms', async ({ page }) => { + test.slow(); + researchConsentPage = new LmsResearchConsentPage(page, 'child'); additionalConsentPage = new LmsAdditionalConsentPage(page); @@ -49,7 +51,7 @@ test.describe.serial('LMS Child Enrollment', () => { await getStartedPage.whoIsSigningUP().toCheckbox('My child has been diagnosed with LMS and I am signing up for them or with them').check(); await getStartedPage.next(); - await expect(getStartedPage.age().toQuestion()).toHaveScreenshot('how-old-is-your-child-question.png'); + await toHaveScreenshot(page, getStartedPage.age().toQuestion(), 'how-old-is-your-child-question.png'); await getStartedPage.age().fill(participant.age); await getStartedPage.fillInCountry(participant.country.abbreviation, { state: participant.state.abbreviation }); @@ -60,21 +62,21 @@ test.describe.serial('LMS Child Enrollment', () => { password: process.env.LMS_USER_PASSWORD }); logParticipantCreated(userEmail, childFullName); - }) + }); await test.step('Asserting contents on Research Consent & Assent Form: Step 1. Key Points', async () => { await assertActivityHeader(page, 'Research Consent & Assent Form'); await assertActiveActivityStep(page, '1. Key Points'); - await expect(page.locator('.ddp-content')).toHaveScreenshot('research-consent-assent-form-message.png'); - await expect(page.locator('.activity-steps')).toHaveScreenshot('research-consent-assent-activity-steps.png'); + await toHaveScreenshot(page, '.ddp-content', 'research-consent-assent-form-message.png'); + await toHaveScreenshot(page, '.activity-steps', 'research-consent-assent-activity-steps.png'); const paragraphs = await page.locator('.ddp-section .ddp-li').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-form-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-form-paragraph-${i}.png`); } await researchConsentPage.next(); - }) + }); await test.step('Asserting contents on Research Consent & Assent Form: Step 2. Full Form', async () => { await assertActiveActivityStep(page, '2. Full Form'); @@ -83,106 +85,106 @@ test.describe.serial('LMS Child Enrollment', () => { const questionALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); let paragraphs = await questionALocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-A-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-A-paragraph-${i}.png`); } const questionBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Why is this research study being done?")]]'); - await expect(questionBLocator).toHaveScreenshot(`research-consent-assent-full-form-page-B-paragraph.png`); + await toHaveScreenshot(page, questionBLocator, 'research-consent-assent-full-form-page-B-paragraph.png'); const questionCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What other options are there?")]]'); - await expect(questionCLocator).toHaveScreenshot(`research-consent-assent-full-form-page-C-paragraph.png`); + await toHaveScreenshot(page, questionCLocator, 'research-consent-assent-full-form-page-C-paragraph.png'); const questionDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What is involved in the research study?")]]'); paragraphs = await questionDLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-D-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-D-paragraph-${i}.png`); } const questionELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "How long will my child be in this research study?")]]'); - await expect(questionELocator).toHaveScreenshot(`research-consent-assent-full-form-page-E-paragraph.png`); + await toHaveScreenshot(page, questionELocator, 'research-consent-assent-full-form-page-E-paragraph.png'); const questionFLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What kind of information could be found in this study and will I be able to see it?")]]'); paragraphs = await questionFLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-F-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-F-paragraph-${i}.png`); } const questionGLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the benefits of the research study?")]]'); - await expect(questionGLocator).toHaveScreenshot(`research-consent-assent-full-form-page-G-paragraph.png`); + await toHaveScreenshot(page, questionGLocator, 'research-consent-assent-full-form-page-G-paragraph.png'); const questionHLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the risks or discomforts of the research study?")]]'); paragraphs = await questionHLocator.locator('//*[contains(@class,"ddp-block-body")]//p[node()]').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-H-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-H-paragraph-${i}.png`); } paragraphs = await questionHLocator.locator('//ul').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-H-list-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-H-list-${i}.png`); } const questionILocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Will I or my child be paid to take part in this research study?")]]'); - await expect(questionILocator).toHaveScreenshot(`research-consent-assent-full-form-page-I-paragraph.png`); + await toHaveScreenshot(page, questionILocator, 'research-consent-assent-full-form-page-I-paragraph.png'); const questionJLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the costs to take part in this research study?")]]'); - await expect(questionJLocator).toHaveScreenshot(`research-consent-assent-full-form-page-J-paragraph.png`); + await toHaveScreenshot(page, questionJLocator, 'research-consent-assent-full-form-page-J-paragraph.png'); const questionKLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Can my child stop being in the research study and what are my child’s rights?")]]'); paragraphs = await questionKLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-K-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-K-paragraph-${i}.png`); } const questionLLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What happens if my child is injured or sick because they took part in this research study?")]]'); - await expect(questionLLocator).toHaveScreenshot(`research-consent-assent-full-form-page-L-paragraph.png`); + await toHaveScreenshot(page, questionLLocator, 'research-consent-assent-full-form-page-L-paragraph.png'); const questionMLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "How will this study protect patient confidentiality?")]]'); paragraphs = await questionMLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-M-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-M-paragraph-${i}.png`); } const questionNLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[normalize-space()="Whom do I contact if I have questions about the research study?"]]'); - await expect(questionNLocator).toHaveScreenshot(`research-consent-assent-full-form-page-N-paragraph.png`); + await toHaveScreenshot(page, questionNLocator, 'research-consent-assent-full-form-page-N-paragraph.png'); const questionOLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Authorization to use your child’s health information for research purposes")]]'); paragraphs = await questionOLocator.locator('//*[contains(@class,"ddp-block-body")]//p[node()]').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-O-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-O-paragraph-${i}.png`); } paragraphs = await questionOLocator.locator('//ol/li').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-page-O-list-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-page-O-list-${i}.png`); } const questionPLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Participation Information")]]'); - await expect(questionPLocator).toHaveScreenshot(`research-consent-assent-full-form-page-P-paragraph.png`); + await toHaveScreenshot(page, questionPLocator, 'research-consent-assent-full-form-page-P-paragraph.png'); await researchConsentPage.next(); - }) + }); await test.step('Asserting contents on Research Consent & Assent Form: Step 3. Sign Consent', async () => { await assertActiveActivityStep(page, '3. Sign Consent'); - await expect(page.locator('p.secondary-text')).toHaveScreenshot(`research-consent-sign-consent-info.png`); - await expect(await researchConsentPage.agreeToDrawBloodQuestion.toLocator()).toHaveScreenshot('research-consent-agree-to-draw-blood-question.png'); - await expect(await researchConsentPage.canRequestStoredTumorSamples.toLocator()).toHaveScreenshot('research-consent-can-request-tumor-samples-question.png'); + await toHaveScreenshot(page, 'p.secondary-text', 'research-consent-sign-consent-info.png'); + await toHaveScreenshot(page, researchConsentPage.agreeToDrawBloodQuestion.toLocator(), 'research-consent-agree-to-draw-blood-question.png'); + await toHaveScreenshot(page, researchConsentPage.canRequestStoredTumorSamples.toLocator(), 'research-consent-can-request-tumor-samples-question.png'); await researchConsentPage.agreeToDrawBloodSamples(); await researchConsentPage.requestStoredSamples(); const agreeToFollowingList = await page.locator('//ddp-activity-content[.//text()[normalize-space()= "In addition, I agree to all of the following:"]]//ul/li').all(); for (let i = 0; i < agreeToFollowingList.length; i++) { - await expect(agreeToFollowingList[i]).toHaveScreenshot(`research-consent-assent-full-form-agree-list-${i}.png`); + await toHaveScreenshot(page, agreeToFollowingList[i], `research-consent-assent-full-form-agree-list-${i}.png`); } const fullNameIndicatesFollowing = page.locator('//ddp-activity-content[.//text()[normalize-space()= "My full name below indicates:"]]'); - await expect(fullNameIndicatesFollowing).toHaveScreenshot(`research-consent-full-name-indicates-following.png`); + await toHaveScreenshot(page, fullNameIndicatesFollowing, 'research-consent-full-name-indicates-following.png'); await researchConsentPage.fillInChildFullName(childFirstName, childLastName); await researchConsentPage.fillInDateOfBirth(participant.birthDate.MM, participant.birthDate.DD, participant.birthDate.YYYY); await researchConsentPage.fillInFullName(childFullName); // Your Child’s Full name await researchConsentPage.fillInYourFullName(adultFirstName, adultLastName); // Your Full name - await researchConsentPage.fillInSignature(adultFullName) // Your Signature (Full Name) + await researchConsentPage.fillInSignature(adultFullName); // Your Signature (Full Name) await researchConsentPage.selectRelationshipToChild('Parent'); await researchConsentPage.fillInContactAddress({ fullName: childFullName, @@ -194,20 +196,20 @@ test.describe.serial('LMS Child Enrollment', () => { }); await researchConsentPage.next(); - }) + }); await test.step('Asserting contents on Research Consent & Assent Form: Step 4. Sign Assent', async () => { await assertActiveActivityStep(page, '4. Sign Assent'); const paragraphs = await page.locator('.ddp-content p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-full-form-sign-assent-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-full-form-sign-assent-paragraph-${i}.png`); } - await researchConsentPage.fillInChildSignature(childFullName) // Child/Adolescent Assent + await researchConsentPage.fillInChildSignature(childFullName); // Child/Adolescent Assent await researchConsentPage.submit(); - }) + }); // Additional Consent Form: Learning About Your Child's Tumor await test.step("Asserting contents on Additional Consent Form: Learning About Your Child's Tumor", async () => { @@ -218,19 +220,19 @@ test.describe.serial('LMS Child Enrollment', () => { await additionalConsentPage.waitForReady(); const paragraphALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); - await expect(paragraphALocator).toHaveScreenshot(`research-consent-additional-consent-page-A-paragraph.png`); + await toHaveScreenshot(page, paragraphALocator, 'research-consent-additional-consent-page-A-paragraph.png'); const paragraphBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Brief Description of the Project")]]'); - await expect(paragraphBLocator).toHaveScreenshot(`research-consent-additional-consent-page-B-paragraph.png`); + await toHaveScreenshot(page, paragraphBLocator, 'research-consent-additional-consent-page-B-paragraph.png'); const paragraphCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the new procedures involved?")]]'); - await expect(paragraphCLocator).toHaveScreenshot(`research-consent-additional-consent-page-C-paragraph.png`); + await toHaveScreenshot(page, paragraphCLocator, 'research-consent-additional-consent-page-C-paragraph.png'); const paragraphDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Are there any new risks associated with participating in this portion of the research study?")]]'); - await expect(paragraphDLocator).toHaveScreenshot(`research-consent-additional-consent-page-D-paragraph.png`); + await toHaveScreenshot(page, paragraphDLocator, 'research-consent-additional-consent-page-D-paragraph.png'); const paragraphELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Who do I contact if I have questions about the research study?")]]'); - await expect(paragraphELocator).toHaveScreenshot(`research-consent-additional-consent-page-E-paragraph.png`); + await toHaveScreenshot(page, paragraphELocator, 'research-consent-additional-consent-page-E-paragraph.png'); await additionalConsentPage.agreeToShareWithMeResults('Yes'); @@ -246,14 +248,14 @@ test.describe.serial('LMS Child Enrollment', () => { const paragraphs = await page.locator('.ddp-content p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-assent-addendum-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-assent-addendum-paragraph-${i}.png`); } await additionalConsentPage.agreeToShareWithParentGuardian().toRadiobutton().check('Yes'); await additionalConsentPage.signature().fill(childFullName); await additionalConsentPage.submit(); - }) + }); await test.step('Asserting contents on Medical Release Form', async () => { const medicalReleasePage = new LmsMedicalReleasePage(page); @@ -261,17 +263,17 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('//ddp-activity-content[not(contains(.,"Date"))]').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`medical-release-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `medical-release-content-${i}.png`); } - await expect(page.locator('.ddp-activity-question.Question--AGREEMENT')).toHaveScreenshot(`medical-release-agreement.png`); + await toHaveScreenshot(page, '.ddp-activity-question.Question--AGREEMENT', 'medical-release-agreement.png'); await medicalReleasePage.fillInPhysicianInstitution(); await medicalReleasePage.agreeToAllowUsToContactPhysicianToObtainRecords(); await medicalReleasePage.fillInFullName(childFullName); await medicalReleasePage.submit(); - }) + }); // Next page: Survey: Your Child's LMS await test.step("Asserting contents on Survey: Your Child's LMS", async () => { @@ -282,7 +284,7 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`survey-your-child-lms-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `survey-your-child-lms-content-${i}.png`); } await surveyAboutLms.fillInDiagnosedDate('February', '2000'); @@ -299,7 +301,7 @@ test.describe.serial('LMS Child Enrollment', () => { await surveyAboutLms.medicationsChemotherapyReceived().fill('AFATINIB', { nth: 1 }); await surveyAboutLms.submit(); - }) + }); // Next page: Survey: About Your Child await test.step('Asserting contents on Survey: About Your Child', async () => { @@ -310,7 +312,7 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`survey-about-your-child-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `survey-about-your-child-content-${i}.png`); } await surveyAboutYou.sex().toRadiobutton().check('Female'); @@ -321,17 +323,19 @@ test.describe.serial('LMS Child Enrollment', () => { await surveyAboutYou.howDidYouHearAboutProject().check('Word of mouth (friend/family, study staff, study participants, patient, support group, etc.)'); await surveyAboutYou.howDidYouHearAboutProject().toCheckbox(/Brochure/).check(); await surveyAboutYou.howOftenDoYouNeedHelpReadHospitalMaterials().toRadiobutton().check('None of the time'); - await surveyAboutYou.howOftenDoYouHaveProblemsUnderstandWrittenInformation().toRadiobutton().check('None of the time') + await surveyAboutYou.howOftenDoYouHaveProblemsUnderstandWrittenInformation().toRadiobutton().check('None of the time'); await surveyAboutYou.howConfidentAreYouFillingOutFormsByYourself().toRadiobutton().check('Always'); await surveyAboutYou.highestLevelOfSchoolCompleted().toRadiobutton().check('Graduate or professional school (for example Masters, PhD, MD, JD/LLB)'); await surveyAboutYou.speakLanguage().toRadiobutton().check('English'); await surveyAboutYou.submit(); - }) + }); // On Dashboard await expect(page.locator('h1.dashboard-title-section__title span')).toHaveText('Participant Dashboard'); - await expect(page.locator('.infobox_dashboard')).toHaveScreenshot('dashboard-message.png'); - await expect(page.locator('ddp-user-activities [role="table"]')).toHaveScreenshot('dashboard-table.png'); + await toHaveScreenshot(page, '.infobox_dashboard', 'dashboard-message.png'); + await toHaveScreenshot(page, 'ddp-user-activities [role="table"]', 'dashboard-table.png'); + + expect(test.info().errors).toHaveLength(0); }); -}) +}); diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png new file mode 100644 index 0000000000..8b64545d79 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png new file mode 100644 index 0000000000..d397f817fd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png new file mode 100644 index 0000000000..02bf590b80 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png new file mode 100644 index 0000000000..ab6ddeee7d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png new file mode 100644 index 0000000000..99c6e86f34 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png new file mode 100644 index 0000000000..29b721c15b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png new file mode 100644 index 0000000000..7646f62567 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png new file mode 100644 index 0000000000..bebf0a1f4f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png new file mode 100644 index 0000000000..c8a791553b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..04a9bf9a7e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..049804dc0a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png new file mode 100644 index 0000000000..c787ce79b5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..4afc48bfd8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png new file mode 100644 index 0000000000..57de84f4ec Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-activity-steps-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-activity-steps-dss-linux.png new file mode 100644 index 0000000000..876d686c0f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-activity-steps-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..2e15c6ae61 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..2419c310dc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..5e511e381e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..ad76c7e1b7 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..7fac32bbc3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..2cc199d55e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..966f49fe86 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..92b294046a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-addendum-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-message-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-message-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..c5e302532f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..8e64c3f12d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-darwin.png index 84b6aafe52..66b1d44196 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-linux.png index 357b0b9680..27e719da08 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..27e719da08 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-darwin.png index fe6d13527f..779ba186a9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-linux.png index 928c0a6f2a..0be78a1b63 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..0be78a1b63 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-darwin.png index d0e6a9c43b..d921195364 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-linux.png index b0a07ffbf4..c801275e57 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..c801275e57 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-darwin.png index 8623094564..7cd7a86a11 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-linux.png index 241d7da891..eb0e766bd3 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..eb0e766bd3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-darwin.png index 6fa301db69..d322a8cb9f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-linux.png index 43eb663ce9..fb1ea781f9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..fb1ea781f9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-darwin.png index f3ee7384f4..bcd2bc9a59 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-linux.png index 5316b903a6..db473b84cc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..db473b84cc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-darwin.png index f8aecab3c2..19daa590da 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-linux.png index 87b78e1748..3f405a5631 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..3f405a5631 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-darwin.png index 263c103874..00121db08a 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-linux.png index 8fe06b8245..70b377e23a 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..70b377e23a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-form-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-0-dss-linux.png new file mode 100644 index 0000000000..399fc5b079 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-1-dss-linux.png new file mode 100644 index 0000000000..575e7c516a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-2-dss-linux.png new file mode 100644 index 0000000000..cea34f43e9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-3-dss-linux.png new file mode 100644 index 0000000000..6ea04509f1 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-4-dss-linux.png new file mode 100644 index 0000000000..025d7c7e05 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-5-dss-linux.png new file mode 100644 index 0000000000..b01d1c1233 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-6-dss-linux.png new file mode 100644 index 0000000000..914ad4717c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-7-dss-linux.png new file mode 100644 index 0000000000..d2500bef6f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-agree-list-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..97edb48a34 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..cf2c83d525 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..679f78f316 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..5534aba986 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..448f62dda0 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-A-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..44aaa18c79 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..f6c7d59ffd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..4434d67cac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..d365be4e66 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..adc312ca6b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..d4d95a5be5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..08de618916 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a7c747a851 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..f7fa051397 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..09ac8a5826 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..14dc370e44 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..5222cc34dc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..d9c9f7cdc8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-D-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..8b367fa014 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..19535c0b77 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..ec955539f9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..ddeaf75291 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..1fefb3a5d6 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a2fc7a3481 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-F-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-G-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-G-paragraph-dss-linux.png new file mode 100644 index 0000000000..a4940fb704 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-G-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-darwin.png index 8ab8f3a087..2d2e3308d9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-linux.png index 6587fd8a84..93147e4689 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-dss-linux.png new file mode 100644 index 0000000000..93147e4689 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-darwin.png index bbf372d6d8..8553577d9d 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-linux.png index 6f37a050fe..4358401c2c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-dss-linux.png new file mode 100644 index 0000000000..4358401c2c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..dae4719921 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..b8bd054b97 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..c302a406a2 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..176b3e77f6 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-darwin.png index 32960069e1..b8d2e682d0 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-linux.png index 69c31dc642..182665e497 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..182665e497 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-H-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-darwin.png index 966f4b3c30..a09d83c549 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-linux.png index 9e9932527f..2c35c48119 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-dss-linux.png new file mode 100644 index 0000000000..2c35c48119 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-I-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-darwin.png index f8858cdcd5..107135f097 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-linux.png index 48de3caa0c..79fc2437cd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-dss-linux.png new file mode 100644 index 0000000000..79fc2437cd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-J-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-darwin.png index 3a16eb7e22..1b2e01d57c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-linux.png index 5374d6c4f3..f2064b6c95 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..f2064b6c95 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-darwin.png index 3ff980c001..4392827b81 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-linux.png index ff1a83362b..366bfc6f68 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..366bfc6f68 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-K-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-darwin.png index 36cc7f5f28..f816a8ff1b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-linux.png index 763eabefc0..82851d8e7f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-dss-linux.png new file mode 100644 index 0000000000..82851d8e7f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-L-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-darwin.png index fe9d40f7b8..73e2aeef10 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-linux.png index d3f6b05d92..13cfea972c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..13cfea972c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-darwin.png index e9972032e5..61ab64b1c3 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-linux.png index 61a255d438..bc92ed1e37 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..bc92ed1e37 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-darwin.png index e16aa572de..087a6d5008 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-linux.png index 925b4b41ee..2610460bd3 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..2610460bd3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-darwin.png index 1a0ea09e0f..76bda87d6b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-linux.png index 60117a5bdf..8f596c05a9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..8f596c05a9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-M-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-darwin.png index f36454be15..d1f77e1f0d 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-linux.png index 125a1bbd6a..f6844df9ca 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-dss-linux.png new file mode 100644 index 0000000000..f6844df9ca Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-N-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-darwin.png index 5ae212cc6b..55a7824951 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-linux.png index 2e18dad527..8db6137182 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-dss-linux.png new file mode 100644 index 0000000000..8db6137182 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-darwin.png index e3f4c1b552..072190ec41 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-linux.png index 814ebff42c..aa54f1fca5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-dss-linux.png new file mode 100644 index 0000000000..aa54f1fca5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-darwin.png index 84a4674186..1d17f67dde 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-linux.png index c6d2f71387..b0f577dbfc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-dss-linux.png new file mode 100644 index 0000000000..b0f577dbfc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-darwin.png index ebac3b9a76..d59fb47a37 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-linux.png index 17b794113b..a69f812a86 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-dss-linux.png new file mode 100644 index 0000000000..a69f812a86 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-darwin.png index f85c2b77cb..ccd95859c8 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-linux.png index 932ee7335a..c84060f4bd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-dss-linux.png new file mode 100644 index 0000000000..c84060f4bd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-darwin.png index 500c720f23..baa4863473 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-linux.png index 320edc5e24..d4afd50ed5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-dss-linux.png new file mode 100644 index 0000000000..d4afd50ed5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-list-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-darwin.png index 03bbc6de32..2724ab4a49 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-linux.png index e8db610296..812cf13084 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..812cf13084 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-darwin.png index 9e1332005f..0b4c6f8207 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-linux.png index 576e2b6c05..80c905f306 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..80c905f306 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-darwin.png index 364881650f..f5651f4dfd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-linux.png index c815565e73..617c4f4cbe 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..617c4f4cbe Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-darwin.png index f1ded8ad44..24ad2c9829 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-linux.png index 45142b5906..51c5798a73 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-dss-linux.png new file mode 100644 index 0000000000..51c5798a73 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-11-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-darwin.png index 7de6c760c9..7d31602748 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-linux.png index a06c82216e..f1fe4b6f8d 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-dss-linux.png new file mode 100644 index 0000000000..f1fe4b6f8d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-12-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-darwin.png index 3f7f76ebf2..7f04f5a2bc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-linux.png index a6fc114350..7478711ebb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-dss-linux.png new file mode 100644 index 0000000000..7478711ebb Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-13-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-darwin.png index bc51edcdad..6e55e5cedb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-linux.png index 723bdf7b51..621bf66e15 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-dss-linux.png new file mode 100644 index 0000000000..621bf66e15 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-14-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-darwin.png index 598f3cc5df..8250e2d13b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-linux.png index 42d8dcbdc1..8f01c1bc91 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-dss-linux.png new file mode 100644 index 0000000000..8f01c1bc91 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-15-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-darwin.png index 62bc55e228..f00cb8aa23 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-linux.png index 1986540c39..be9960e2f5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-dss-linux.png new file mode 100644 index 0000000000..be9960e2f5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-16-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-darwin.png index d41d5f9c74..b18ccff919 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-linux.png index a2fb2bf13a..2594faa435 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-dss-linux.png new file mode 100644 index 0000000000..2594faa435 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-17-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-darwin.png index 17877d9f3c..ed20af537c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-linux.png index 7957153e58..b1a6dc7bac 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-dss-linux.png new file mode 100644 index 0000000000..b1a6dc7bac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-18-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-darwin.png index f406608ef2..5661eeb4f0 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-linux.png index d5223d0c0b..e6f47fd85e 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-dss-linux.png new file mode 100644 index 0000000000..e6f47fd85e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-19-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-darwin.png index eeb0b2978d..221a53e882 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-linux.png index 850a2e8be7..67d4fe1149 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..67d4fe1149 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-darwin.png index d7253c615c..c7b7fd2bbb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-linux.png index 8f334fc801..109d562ace 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..109d562ace Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-darwin.png index 7cb17f6277..63a1af0b74 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-linux.png index e4768ff25e..b1d330519e 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..b1d330519e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-darwin.png index ae10893f2c..bec1a9b6ef 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-linux.png index 49a35eef45..41a4f09847 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..41a4f09847 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-darwin.png index 995522bfb2..c56c01902f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-linux.png index f04958c02a..125a83473c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..125a83473c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-darwin.png index d5347a8286..ab33e6af64 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-linux.png index 0c22f9c896..4e3b2620ab 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..4e3b2620ab Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-darwin.png index a86554a8ba..843a2825de 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-linux.png index 4b9d5c07a4..5cc322f05f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..5cc322f05f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-darwin.png index 2b2b9f8512..8626979b63 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-linux.png index 73f669e3a0..5e714812f8 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..5e714812f8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-O-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-darwin.png index 4d07059532..a127bdbf22 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-linux.png index daeb33d4bc..3686d8cd70 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-dss-linux.png new file mode 100644 index 0000000000..3686d8cd70 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-page-P-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..235f33b530 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..08b865e2a5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-11-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-11-dss-linux.png new file mode 100644 index 0000000000..7b392120f8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-11-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..45644b1c83 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..9c6f375ebc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..0855df4879 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..d04b8443ac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..6e57446906 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..5b5a5bb2ee Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..f52c15e741 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..020edf753a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-assent-full-form-sign-assent-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png new file mode 100644 index 0000000000..6bf6a9b845 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png new file mode 100644 index 0000000000..ed2f8102ea Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-0-dss-linux.png new file mode 100644 index 0000000000..820856f2f3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-1-dss-linux.png new file mode 100644 index 0000000000..6a303cce9a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-2-dss-linux.png new file mode 100644 index 0000000000..08a7b52b33 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-3-dss-linux.png new file mode 100644 index 0000000000..ae16eb1b35 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-about-your-child-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-0-dss-linux.png new file mode 100644 index 0000000000..505b8f90ae Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-1-dss-linux.png new file mode 100644 index 0000000000..94d97724a4 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-assent-enrollment.spec.ts-snapshots/survey-your-child-lms-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts index 2ab7bb013d..fff546f233 100644 --- a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts +++ b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts @@ -15,7 +15,7 @@ import { assertActivityHeader } from 'utils/assertion-helper'; import { getDate } from 'utils/date-utils'; import { generateUserName } from 'utils/faker-utils'; import { logParticipantCreated } from 'utils/log-utils'; -import { waitForResponse } from 'utils/test-utils'; +import { toHaveScreenshot, waitForResponse } from 'utils/test-utils'; const { LMS_USER_EMAIL, LMS_USER_PASSWORD } = process.env; @@ -25,15 +25,15 @@ test.describe.serial('LMS Child Enrollment', () => { let dashboardPage: LmsDashboardPage; let homePage: LmsHomePage; let researchConsentPage: LmsResearchConsentPage; - let additionalConsentPage: LmsAdditionalConsentPage; const assertActiveActivityStep = async (page: Page, expectedText: string) => { await expect(page.locator('.activity-step.active')).toHaveText(expectedText); }; - test('Parental consent child is three years old @visual @enrollment @lms', async ({ page }) => { + test('Parental consent child is three years old @visual @dss @lms', async ({ page }) => { + test.slow(); + researchConsentPage = new LmsResearchConsentPage(page, 'secondChild'); - additionalConsentPage = new LmsAdditionalConsentPage(page); const child = user.secondChild; const childFirstName = generateUserName(child.firstName); @@ -56,7 +56,7 @@ test.describe.serial('LMS Child Enrollment', () => { await getStartedPage.whoIsSigningUP().toCheckbox('My child has been diagnosed with LMS and I am signing up for them or with them').check(); await getStartedPage.next(); - await expect(getStartedPage.age().toQuestion()).toHaveScreenshot('how-old-is-your-child-question.png'); + await toHaveScreenshot(page, getStartedPage.age().toQuestion(), 'how-old-is-your-child-question.png'); await getStartedPage.age().fill(child.age); await getStartedPage.fillInCountry(child.country.abbreviation, { state: child.state.abbreviation }); @@ -73,12 +73,12 @@ test.describe.serial('LMS Child Enrollment', () => { await assertActivityHeader(page, 'Research Consent Form'); await assertActiveActivityStep(page, '1. Key Points'); - await expect(page.locator('.ddp-content')).toHaveScreenshot('lms-research-consent-form-message.png'); - await expect(page.locator('.activity-steps')).toHaveScreenshot('lms-research-consent-activity-steps.png'); + await toHaveScreenshot(page, '.ddp-content', 'lms-research-consent-form-message.png'); + await toHaveScreenshot(page, '.activity-steps', 'lms-research-consent-activity-steps.png'); const paragraphs = await page.locator('.ddp-section .ddp-li').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-form-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-form-paragraph-${i}.png`); } await researchConsentPage.next(); }) @@ -90,79 +90,80 @@ test.describe.serial('LMS Child Enrollment', () => { const questionALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); let paragraphs = await questionALocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-A-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-A-paragraph-${i}.png`); } const questionBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Why is this research study being done?")]]'); - await expect(questionBLocator).toHaveScreenshot(`lms-research-consent-full-form-page-B-paragraph.png`); + await toHaveScreenshot(page, questionBLocator, 'lms-research-consent-full-form-page-B-paragraph.png'); const questionCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What other options are there?")]]'); - await expect(questionCLocator).toHaveScreenshot(`lms-research-consent-full-form-page-C-paragraph.png`); + await toHaveScreenshot(page, questionCLocator, 'lms-research-consent-full-form-page-C-paragraph.png'); const questionDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What is involved in the research study?")]]'); paragraphs = await questionDLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-D-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-D-paragraph-${i}.png`); } const questionELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "How long will my child be in this research study?")]]'); - await expect(questionELocator).toHaveScreenshot(`lms-research-consent-full-form-page-E-paragraph.png`); + await toHaveScreenshot(page, questionELocator, 'lms-research-consent-full-form-page-E-paragraph.png'); const questionFLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What kind of information could be found in this study and will I be able to see it?")]]'); paragraphs = await questionFLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-F-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-F-paragraph-${i}.png`); } const questionGLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the benefits of the research study?")]]'); - await expect(questionGLocator).toHaveScreenshot(`lms-research-consent-full-form-page-G-paragraph.png`); + await toHaveScreenshot(page, questionGLocator, 'lms-research-consent-full-form-page-G-paragraph.png'); const questionHLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the risks or discomforts of the research study?")]]'); paragraphs = await questionHLocator.locator('//*[contains(@class,"ddp-block-body")]//p[node()]').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-H-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-H-paragraph-${i}.png`); } paragraphs = await questionHLocator.locator('//ul').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-H-list-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-H-list-${i}.png`); } const questionILocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Will I or my child be paid to take part in this research study?")]]'); - await expect(questionILocator).toHaveScreenshot(`lms-research-consent-full-form-page-I-paragraph.png`); + await toHaveScreenshot(page, questionILocator, 'lms-research-consent-full-form-page-I-paragraph.png'); const questionJLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the costs to take part in this research study?")]]'); - await expect(questionJLocator).toHaveScreenshot(`lms-research-consent-full-form-page-J-paragraph.png`); + await toHaveScreenshot(page, questionJLocator, 'lms-research-consent-full-form-page-J-paragraph.png'); const questionKLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Can my child stop being in the research study and what are my child’s rights?")]]'); paragraphs = await questionKLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-K-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-K-paragraph-${i}.png`); } const questionLLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What happens if my child is injured or sick because they took part in this research study?")]]'); - await expect(questionLLocator).toHaveScreenshot(`lms-research-consent-full-form-page-L-paragraph.png`); + await toHaveScreenshot(page, questionLLocator, 'lms-research-consent-full-form-page-L-paragraph.png'); const questionMLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "How will this study protect patient confidentiality?")]]'); paragraphs = await questionMLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-M-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-M-paragraph-${i}.png`); } const questionNLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[normalize-space()="Whom do I contact if I have questions about the research study?"]]'); - await expect(questionNLocator).toHaveScreenshot(`lms-research-consent-full-form-page-N-paragraph.png`); + await toHaveScreenshot(page, questionNLocator, 'lms-research-consent-full-form-page-N-paragraph.png'); const questionOLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Authorization to use your child’s health information for research purposes")]]'); paragraphs = await questionOLocator.locator('//*[contains(@class,"ddp-block-body")]//p[node()]').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-O-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-O-paragraph-${i}.png`); } + paragraphs = await questionOLocator.locator('//ol/li').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`lms-research-consent-full-form-page-O-list-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `lms-research-consent-full-form-page-O-list-${i}.png`); } const questionPLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Participation Information")]]'); - await expect(questionPLocator).toHaveScreenshot(`lms-research-consent-full-form-page-P-paragraph.png`); + await toHaveScreenshot(page, questionPLocator, 'lms-research-consent-full-form-page-P-paragraph.png'); await researchConsentPage.next(); }) @@ -170,9 +171,9 @@ test.describe.serial('LMS Child Enrollment', () => { await test.step('Asserting contents on Research Consent & Assent Form: Step 3. Sign Consent', async () => { await assertActiveActivityStep(page, '3. Sign Consent'); - await expect(page.locator('p.secondary-text')).toHaveScreenshot(`lms-research-consent-sign-consent-info.png`); - await expect(await researchConsentPage.agreeToDrawBloodQuestion.toLocator()).toHaveScreenshot('lms-agree-to-draw-blood-question.png'); - await expect(await researchConsentPage.canRequestStoredTumorSamples.toLocator()).toHaveScreenshot('lms-can-request-tumor-samples-question.png'); + await toHaveScreenshot(page, 'p.secondary-text', 'lms-research-consent-sign-consent-info.png'); + await toHaveScreenshot(page, researchConsentPage.agreeToDrawBloodQuestion.toLocator(), 'lms-agree-to-draw-blood-question.png'); + await toHaveScreenshot(page, researchConsentPage.canRequestStoredTumorSamples.toLocator(), 'lms-can-request-tumor-samples-question.png'); await researchConsentPage.agreeToDrawBloodSamples(); await researchConsentPage.requestStoredSamples(); @@ -180,12 +181,12 @@ test.describe.serial('LMS Child Enrollment', () => { // In addition, I agree to all of the following: const agreeToFollowingList = await page.locator('//ddp-activity-content[.//text()[normalize-space()= "In addition, I agree to all of the following:"]]//ul/li').all(); for (let i = 0; i < agreeToFollowingList.length; i++) { - await expect(agreeToFollowingList[i]).toHaveScreenshot(`lms-sign-consent-agree-list-${i}.png`); + await toHaveScreenshot(page, agreeToFollowingList[i], `lms-sign-consent-agree-list-${i}.png`); } // My full name below indicates: const fullNameIndicatesFollowing = page.locator('//ddp-activity-content[.//text()[normalize-space()= "My full name below indicates:"]]'); - await expect(fullNameIndicatesFollowing).toHaveScreenshot(`lms-my-full-name-indicates-following.png`); + await toHaveScreenshot(page, fullNameIndicatesFollowing, 'lms-my-full-name-indicates-following.png'); await researchConsentPage.fillInChildFullName(childFirstName, childLastName); await researchConsentPage.fillInDateOfBirth(child.birthDate.MM, child.birthDate.DD, child.birthDate.YYYY); @@ -213,19 +214,19 @@ test.describe.serial('LMS Child Enrollment', () => { await additionalConsentPage.waitForReady(); const paragraphALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); - await expect(paragraphALocator).toHaveScreenshot(`lms-additional-consent-page-A-paragraph.png`); + await toHaveScreenshot(page, paragraphALocator, 'lms-additional-consent-page-A-paragraph.png'); const paragraphBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Brief Description of the Project")]]'); - await expect(paragraphBLocator).toHaveScreenshot(`lms-additional-consent-page-B-paragraph.png`); + await toHaveScreenshot(page, paragraphBLocator, 'lms-additional-consent-page-B-paragraph.png'); const paragraphCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the new procedures involved?")]]'); - await expect(paragraphCLocator).toHaveScreenshot(`lms-additional-consent-page-C-paragraph.png`); + await toHaveScreenshot(page, paragraphCLocator, 'lms-additional-consent-page-C-paragraph.png'); const paragraphDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Are there any new risks associated with participating in this portion of the research study?")]]'); - await expect(paragraphDLocator).toHaveScreenshot(`lms-additional-consent-page-D-paragraph.png`); + await toHaveScreenshot(page, paragraphDLocator, 'lms-additional-consent-page-D-paragraph.png'); const paragraphELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Who do I contact if I have questions about the research study?")]]'); - await expect(paragraphELocator).toHaveScreenshot(`lms-additional-consent-page-E-paragraph.png`); + await toHaveScreenshot(page, paragraphELocator, 'lms-additional-consent-page-E-paragraph.png'); await additionalConsentPage.agreeToShareWithMeResults('Yes'); @@ -244,10 +245,10 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('//ddp-activity-content[not(contains(.,"Date"))]').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`lms-medical-release-page-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `lms-medical-release-page-content-${i}.png`); } - await expect(page.locator('.Question--AGREEMENT')).toHaveScreenshot(`lms-medical-release-page-agreement-question.png`); + await toHaveScreenshot(page, '.Question--AGREEMENT', 'lms-medical-release-page-agreement-question.png'); await medicalReleasePage.fillInPhysicianInstitution(); await medicalReleasePage.agreeToAllowUsToContactPhysicianToObtainRecords(); @@ -265,7 +266,7 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`lms-survey-your-child-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `lms-survey-your-child-content-${i}.png`); } await surveyAboutLms.fillInDiagnosedDate('February', child.birthDate.YYYY); @@ -291,10 +292,10 @@ test.describe.serial('LMS Child Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`lms-survey-about-your-child-instruction-${i}.png`); + await toHaveScreenshot(page, contents[i], `lms-survey-about-your-child-instruction-${i}.png`); } - await assertNestedCheckbox(surveyAboutYou); + await assertNestedCheckbox(page, surveyAboutYou); await surveyAboutYou.sex().toRadiobutton().check('Female'); await surveyAboutYou.gender().toCheckbox('Girl').check(); @@ -317,35 +318,38 @@ test.describe.serial('LMS Child Enrollment', () => { dashboardPage = new LmsDashboardPage(page); await dashboardPage.waitForReady(); - await expect(page.locator('.infobox_dashboard')).toHaveScreenshot('lms-dashboard-message.png'); - await expect(dashboardPage.getTable().tableLocator()).toHaveScreenshot('lms-dashboard-table-1.png'); + await toHaveScreenshot(page, '.infobox_dashboard', 'lms-dashboard-message.png'); + await toHaveScreenshot(page, dashboardPage.getTable().tableLocator(), 'lms-dashboard-table-1.png'); }) // Log out await dashboardPage.getLogOutButton().click(); await homePage.waitForReady(); + + expect(test.info().errors).toHaveLength(0); }); - test('New participant sign in @visual @enrollment @lms', async ({ page }) => { + test('New participant sign in @visual @dss @lms', async ({ page }) => { await auth.login(page, {email: userEmail, password: LMS_USER_PASSWORD}); dashboardPage = new LmsDashboardPage(page); await dashboardPage.waitForReady(); await expect(page.locator('.infobox_dashboard')).not.toBeVisible(); - await expect(dashboardPage.getTable().tableLocator()).toHaveScreenshot('lms-dashboard-table-2.png'); + await toHaveScreenshot(page, dashboardPage.getTable().tableLocator(), 'lms-dashboard-table-2.png'); }); - async function assertNestedCheckbox(surveyAboutYou: SurveyAboutYou): Promise { + async function assertNestedCheckbox(page: Page, surveyAboutYou: SurveyAboutYou): Promise { const allCheckbox = ['American Indian or Alaska Native', 'Asian', 'Black, African American, or African', 'Hispanic, Latino, or Spanish', 'Middle Eastern or North African', 'Native Hawaiian or other Pacific Islander', 'White']; for (let i = 0; i < allCheckbox.length; i++) { const name = allCheckbox[i].replace(' ', ''); const checkbox = surveyAboutYou.race().toCheckbox(allCheckbox[i]); + await toHaveScreenshot(page, checkbox.toLocator(), `${name}-checkbox.png`); await expect(checkbox.toLocator()).toHaveScreenshot(`${name}-checkbox.png`); await checkbox.check(); // Opens up nested checkbox list const nestedList = checkbox.getNestedCheckbox(); - await expect(nestedList).toHaveScreenshot(`${name}-nested-checkboxes.png`); + await toHaveScreenshot(page, nestedList, `${name}-nested-checkboxes.png`); await checkbox.uncheck(); // Close nested checkbox list } } diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-checkbox-dss-linux.png new file mode 100644 index 0000000000..15f6b7cbaa Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..301e682013 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/AmericanIndian-or-Alaska-Native-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-checkbox-dss-linux.png new file mode 100644 index 0000000000..fe12cd5e5f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..db422f2155 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Asian-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-checkbox-dss-linux.png new file mode 100644 index 0000000000..424b23d36c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..693839c560 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Black-African-American-or-African-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-checkbox-dss-linux.png new file mode 100644 index 0000000000..adfb076bc2 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..329a6c54d4 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/Hispanic-Latino-or-Spanish-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-checkbox-dss-linux.png new file mode 100644 index 0000000000..63e93da4fe Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..467e7d9c4f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/MiddleEastern-or-North-African-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-checkbox-dss-linux.png new file mode 100644 index 0000000000..238312276c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..ffd6b5c66d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/NativeHawaiian-or-other-Pacific-Islander-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-checkbox-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-checkbox-dss-linux.png new file mode 100644 index 0000000000..9f6adf6962 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-checkbox-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-nested-checkboxes-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-nested-checkboxes-dss-linux.png new file mode 100644 index 0000000000..ffd0a39521 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/White-nested-checkboxes-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png new file mode 100644 index 0000000000..02bf590b80 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/how-old-is-your-child-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-A-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-A-paragraph-dss-linux.png new file mode 100644 index 0000000000..c8a791553b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-A-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..04a9bf9a7e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..049804dc0a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-D-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-D-paragraph-dss-linux.png new file mode 100644 index 0000000000..c787ce79b5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-D-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..4afc48bfd8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-additional-consent-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-agree-to-draw-blood-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-agree-to-draw-blood-question-dss-linux.png new file mode 100644 index 0000000000..57de84f4ec Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-agree-to-draw-blood-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-can-request-tumor-samples-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-can-request-tumor-samples-question-dss-linux.png new file mode 100644 index 0000000000..6bf6a9b845 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-can-request-tumor-samples-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-message-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-message-dss-linux.png new file mode 100644 index 0000000000..8b64545d79 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-1-dss-linux.png new file mode 100644 index 0000000000..03a4550582 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-2-dss-linux.png new file mode 100644 index 0000000000..4983fe6e2b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-dashboard-table-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-agreement-question-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-agreement-question-dss-linux.png new file mode 100644 index 0000000000..ab6ddeee7d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-agreement-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-0-dss-linux.png new file mode 100644 index 0000000000..99c6e86f34 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-1-dss-linux.png new file mode 100644 index 0000000000..29b721c15b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-2-dss-linux.png new file mode 100644 index 0000000000..7646f62567 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-3-dss-linux.png new file mode 100644 index 0000000000..bebf0a1f4f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-medical-release-page-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-my-full-name-indicates-following-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-my-full-name-indicates-following-dss-linux.png new file mode 100644 index 0000000000..ed2f8102ea Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-my-full-name-indicates-following-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-activity-steps-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-activity-steps-dss-linux.png new file mode 100644 index 0000000000..0f2526335f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-activity-steps-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-message-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-message-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..c5e302532f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..a65152eb51 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-darwin.png index 84b6aafe52..250fda58a6 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-linux.png index 357b0b9680..27e719da08 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..27e719da08 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-darwin.png index fe6d13527f..3deaa9046b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-linux.png index 928c0a6f2a..0be78a1b63 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..0be78a1b63 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-darwin.png index d0e6a9c43b..d921195364 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-linux.png index b0a07ffbf4..c801275e57 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..c801275e57 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-darwin.png index 8623094564..7d3bee74cc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-linux.png index 241d7da891..eb0e766bd3 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..eb0e766bd3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-darwin.png index 1be8d0502c..7f369309eb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-linux.png index 43eb663ce9..fb1ea781f9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..fb1ea781f9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-darwin.png index f3ee7384f4..bcd2bc9a59 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-linux.png index 5316b903a6..db473b84cc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..db473b84cc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-darwin.png index f8aecab3c2..d6aeaa2ee5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-linux.png index 87b78e1748..3f405a5631 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..3f405a5631 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-darwin.png index 263c103874..95a108f972 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-linux.png index 8fe06b8245..70b377e23a 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..70b377e23a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-form-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..97edb48a34 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..cf2c83d525 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..679f78f316 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..5534aba986 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..448f62dda0 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-A-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..44aaa18c79 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..f6c7d59ffd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..4434d67cac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..d365be4e66 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..adc312ca6b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..d4d95a5be5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..08de618916 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a7c747a851 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..f7fa051397 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..09ac8a5826 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..14dc370e44 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..5222cc34dc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..f9fa3259d0 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-D-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..8b367fa014 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..19535c0b77 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..ec955539f9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..ddeaf75291 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..1fefb3a5d6 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a2fc7a3481 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-F-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-G-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-G-paragraph-dss-linux.png new file mode 100644 index 0000000000..a4940fb704 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-G-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-darwin.png index 8ab8f3a087..b5ee2f6ee6 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-linux.png index 6587fd8a84..93147e4689 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-dss-linux.png new file mode 100644 index 0000000000..93147e4689 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-darwin.png index bbf372d6d8..6ba72a4d55 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-linux.png index 6f37a050fe..4358401c2c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-dss-linux.png new file mode 100644 index 0000000000..4358401c2c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..dae4719921 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..b8bd054b97 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..c302a406a2 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..8b3984a39c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-darwin.png index 32960069e1..6d8222a16b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-linux.png index 69c31dc642..182665e497 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..182665e497 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-H-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-darwin.png index 966f4b3c30..fa6c341f57 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-linux.png index 9e9932527f..2c35c48119 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-dss-linux.png new file mode 100644 index 0000000000..2c35c48119 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-I-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-darwin.png index f8858cdcd5..f434731dfb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-linux.png index 48de3caa0c..79fc2437cd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-dss-linux.png new file mode 100644 index 0000000000..79fc2437cd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-J-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-darwin.png index 3a16eb7e22..1b2e01d57c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-linux.png index 5374d6c4f3..f2064b6c95 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..f2064b6c95 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-darwin.png index 3ff980c001..4392827b81 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-linux.png index ff1a83362b..366bfc6f68 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..366bfc6f68 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-K-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-darwin.png index 36cc7f5f28..c7864d4ac1 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-linux.png index 763eabefc0..82851d8e7f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-dss-linux.png new file mode 100644 index 0000000000..82851d8e7f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-L-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-darwin.png index fe9d40f7b8..73e2aeef10 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-linux.png index d3f6b05d92..13cfea972c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..13cfea972c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-darwin.png index e9972032e5..a39952d96c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-linux.png index 61a255d438..bc92ed1e37 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..bc92ed1e37 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-darwin.png index e16aa572de..087a6d5008 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-linux.png index 925b4b41ee..2610460bd3 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..2610460bd3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-darwin.png index 1a0ea09e0f..76bda87d6b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-linux.png index 60117a5bdf..8f596c05a9 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..8f596c05a9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-M-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-darwin.png index f36454be15..6b9d420bbc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-linux.png index 125a1bbd6a..f6844df9ca 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-dss-linux.png new file mode 100644 index 0000000000..f6844df9ca Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-N-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-darwin.png index 5ae212cc6b..8d993c5875 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-linux.png index 2e18dad527..8db6137182 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-dss-linux.png new file mode 100644 index 0000000000..8db6137182 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-darwin.png index e3f4c1b552..c940689eb0 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-linux.png index 814ebff42c..aa54f1fca5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-dss-linux.png new file mode 100644 index 0000000000..aa54f1fca5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-darwin.png index 84a4674186..5cb7a0d57d 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-linux.png index c6d2f71387..b0f577dbfc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-dss-linux.png new file mode 100644 index 0000000000..b0f577dbfc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-darwin.png index ebac3b9a76..f9bd1d74dd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-linux.png index 17b794113b..a69f812a86 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-dss-linux.png new file mode 100644 index 0000000000..a69f812a86 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-darwin.png index f85c2b77cb..004155ee9e 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-linux.png index 932ee7335a..c84060f4bd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-dss-linux.png new file mode 100644 index 0000000000..c84060f4bd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-darwin.png index 500c720f23..67555ed560 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-linux.png index 320edc5e24..d4afd50ed5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-dss-linux.png new file mode 100644 index 0000000000..d4afd50ed5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-list-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-darwin.png index 03bbc6de32..2724ab4a49 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-linux.png index e8db610296..812cf13084 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..812cf13084 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-darwin.png index 9e1332005f..0b4c6f8207 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-linux.png index 576e2b6c05..80c905f306 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..80c905f306 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-darwin.png index 364881650f..f5651f4dfd 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-linux.png index c815565e73..617c4f4cbe 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..617c4f4cbe Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-darwin.png index f1ded8ad44..24ad2c9829 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-linux.png index 45142b5906..51c5798a73 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-dss-linux.png new file mode 100644 index 0000000000..51c5798a73 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-11-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-darwin.png index 7de6c760c9..7d31602748 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-linux.png index a06c82216e..f1fe4b6f8d 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-dss-linux.png new file mode 100644 index 0000000000..f1fe4b6f8d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-12-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-darwin.png index 3f7f76ebf2..7f04f5a2bc 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-linux.png index a6fc114350..7478711ebb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-dss-linux.png new file mode 100644 index 0000000000..7478711ebb Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-13-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-darwin.png index bc51edcdad..4b69303048 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-linux.png index 723bdf7b51..621bf66e15 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-dss-linux.png new file mode 100644 index 0000000000..621bf66e15 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-14-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-darwin.png index 598f3cc5df..8250e2d13b 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-linux.png index 42d8dcbdc1..8f01c1bc91 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-dss-linux.png new file mode 100644 index 0000000000..8f01c1bc91 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-15-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-darwin.png index 62bc55e228..f00cb8aa23 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-linux.png index 1986540c39..be9960e2f5 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-dss-linux.png new file mode 100644 index 0000000000..be9960e2f5 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-16-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-darwin.png index d41d5f9c74..b18ccff919 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-linux.png index a2fb2bf13a..2594faa435 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-dss-linux.png new file mode 100644 index 0000000000..2594faa435 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-17-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-darwin.png index 17877d9f3c..ed20af537c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-linux.png index 7957153e58..b1a6dc7bac 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-dss-linux.png new file mode 100644 index 0000000000..b1a6dc7bac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-18-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-darwin.png index f406608ef2..5661eeb4f0 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-linux.png index d5223d0c0b..e6f47fd85e 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-dss-linux.png new file mode 100644 index 0000000000..e6f47fd85e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-19-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-darwin.png index eeb0b2978d..d4195b7ad8 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-linux.png index 850a2e8be7..67d4fe1149 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..67d4fe1149 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-darwin.png index d7253c615c..c7b7fd2bbb 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-linux.png index 8f334fc801..109d562ace 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..109d562ace Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-darwin.png index 7cb17f6277..63a1af0b74 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-linux.png index e4768ff25e..b1d330519e 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..b1d330519e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-darwin.png index ae10893f2c..bec1a9b6ef 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-linux.png index 49a35eef45..41a4f09847 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..41a4f09847 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-darwin.png index 995522bfb2..c56c01902f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-linux.png index f04958c02a..125a83473c 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..125a83473c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-darwin.png index d5347a8286..ab33e6af64 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-linux.png index 0c22f9c896..4e3b2620ab 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..4e3b2620ab Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-darwin.png index a86554a8ba..843a2825de 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-linux.png index 4b9d5c07a4..5cc322f05f 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..5cc322f05f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-darwin.png index 2b2b9f8512..8626979b63 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-linux.png index 73f669e3a0..5e714812f8 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..5e714812f8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-O-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-darwin.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-darwin.png index 4d07059532..ac554875df 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-linux.png index daeb33d4bc..3686d8cd70 100644 Binary files a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-linux.png and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-dss-linux.png new file mode 100644 index 0000000000..3686d8cd70 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-full-form-page-P-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-sign-consent-info-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-sign-consent-info-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-research-consent-sign-consent-info-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-0-dss-linux.png new file mode 100644 index 0000000000..399fc5b079 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-1-dss-linux.png new file mode 100644 index 0000000000..575e7c516a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-2-dss-linux.png new file mode 100644 index 0000000000..cea34f43e9 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-3-dss-linux.png new file mode 100644 index 0000000000..6ea04509f1 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-4-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-4-dss-linux.png new file mode 100644 index 0000000000..025d7c7e05 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-5-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-5-dss-linux.png new file mode 100644 index 0000000000..b01d1c1233 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-6-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-6-dss-linux.png new file mode 100644 index 0000000000..914ad4717c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-7-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-7-dss-linux.png new file mode 100644 index 0000000000..d2500bef6f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-sign-consent-agree-list-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-0-dss-linux.png new file mode 100644 index 0000000000..820856f2f3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-1-dss-linux.png new file mode 100644 index 0000000000..6a303cce9a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-2-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-2-dss-linux.png new file mode 100644 index 0000000000..08a7b52b33 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-3-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-3-dss-linux.png new file mode 100644 index 0000000000..ae16eb1b35 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-about-your-child-instruction-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-0-dss-linux.png new file mode 100644 index 0000000000..505b8f90ae Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-1-dss-linux.png new file mode 100644 index 0000000000..94d97724a4 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-parental-consent-enrollment.spec.ts-snapshots/lms-survey-your-child-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts index 267b7bae93..4392aad08c 100644 --- a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts +++ b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts @@ -13,7 +13,7 @@ import { test } from 'fixtures/lms-fixture'; import { assertActivityHeader } from 'utils/assertion-helper'; import { generateUserName } from 'utils/faker-utils'; import { logParticipantCreated } from 'utils/log-utils'; -import { waitForResponse } from 'utils/test-utils'; +import { toHaveScreenshot, waitForResponse } from 'utils/test-utils'; test.describe.serial('LMS Adult Enrollment', () => { let researchConsentPage: LmsResearchConsentPage; @@ -23,7 +23,9 @@ test.describe.serial('LMS Adult Enrollment', () => { await expect(page.locator('.activity-step.active')).toHaveText(expectedText); }; - test('self-consent @visual @enrollment @lms', async ({ page }) => { + test('self-consent @visual @dss @lms', async ({ page }) => { + test.slow(); + researchConsentPage = new LmsResearchConsentPage(page); additionalConsentPage = new LmsAdditionalConsentPage(page); @@ -39,7 +41,7 @@ test.describe.serial('LMS Adult Enrollment', () => { const getStartedPage = new LmsGetStartedPage(page); await getStartedPage.waitForReady(); - await expect(page.locator('.ddp-content')).toHaveScreenshot('get-started-instruction.png'); + await toHaveScreenshot(page, '.ddp-content', 'get-started-instruction.png'); await getStartedPage.whoIsSigningUP().toCheckbox("I have been diagnosed with LMS and I'm signing myself up").check(); await getStartedPage.next(); @@ -58,11 +60,12 @@ test.describe.serial('LMS Adult Enrollment', () => { await assertActivityHeader(page, 'Research Consent Form'); await assertActiveActivityStep(page, '1. Key Points'); - await expect(page.locator('.ddp-content')).toHaveScreenshot('research-consent-form-message.png'); - await expect(page.locator('.activity-steps')).toHaveScreenshot('research-consent-activity-steps.png'); + await toHaveScreenshot(page, '.ddp-content', 'research-consent-form-message.png'); + await toHaveScreenshot(page, '.activity-steps', 'research-consent-activity-steps.png'); + const paragraphs = await page.locator('.ddp-li .ddp-block-body').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-key-points-page-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-key-points-page-paragraph-${i}.png`); } }) @@ -73,32 +76,32 @@ test.describe.serial('LMS Adult Enrollment', () => { const questionALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); let paragraphs = await questionALocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-full-form-page-A-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-full-form-page-A-paragraph-${i}.png`); } const questionBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Why is this research study being done?")]]'); - await expect(questionBLocator).toHaveScreenshot(`research-consent-full-form-page-B-paragraph.png`); + await toHaveScreenshot(page, questionBLocator, 'research-consent-full-form-page-B-paragraph.png'); const questionCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What other options are there?")]]'); - await expect(questionCLocator).toHaveScreenshot(`research-consent-full-form-page-C-paragraph.png`); + await toHaveScreenshot(page, questionCLocator, 'research-consent-full-form-page-C-paragraph.png'); const questionDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What is involved in the research study?")]]'); paragraphs = await questionDLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-full-form-page-D-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-full-form-page-D-paragraph-${i}.png`); } const questionELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "How long will I be in this research study?")]]'); - await expect(questionELocator).toHaveScreenshot(`research-consent-full-form-page-E-paragraph.png`); + await toHaveScreenshot(page, questionELocator, 'research-consent-full-form-page-E-paragraph.png'); const questionFLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What kind of information could be found in this study and will I be able to see it?")]]'); paragraphs = await questionFLocator.locator('.ddp-block-body p').all(); for (let i = 0; i < paragraphs.length; i++) { - await expect(paragraphs[i]).toHaveScreenshot(`research-consent-full-form-page-F-paragraph-${i}.png`); + await toHaveScreenshot(page, paragraphs[i], `research-consent-full-form-page-F-paragraph-${i}.png`); } const questionGLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the benefits of the research study?")]]'); - await expect(questionGLocator).toHaveScreenshot(`research-consent-full-form-page-G-paragraph.png`); + await toHaveScreenshot(page, questionGLocator, 'research-consent-full-form-page-G-paragraph.png'); // Note: Questions H to P are not checked }) @@ -108,18 +111,18 @@ test.describe.serial('LMS Adult Enrollment', () => { await test.step('Asserting text contents on Research Consent Form: Step 3. Sign Consent', async () => { await assertActiveActivityStep(page, '3. Sign Consent'); - await expect(page.locator('p.secondary-text')).toHaveScreenshot(`research-consent-sign-consent-info.png`); - await expect(await researchConsentPage.agreeToDrawBloodQuestion.toLocator()).toHaveScreenshot('research-consent-agree-to-draw-blood-question.png'); - await expect(await researchConsentPage.canRequestStoredTumorSamples.toLocator()).toHaveScreenshot('research-consent-can-request-tumor-samples-question.png'); + await toHaveScreenshot(page, 'p.secondary-text', 'research-consent-sign-consent-info.png'); + await toHaveScreenshot(page, researchConsentPage.agreeToDrawBloodQuestion.toLocator(), 'research-consent-agree-to-draw-blood-question.png'); + await toHaveScreenshot(page, researchConsentPage.canRequestStoredTumorSamples.toLocator(), 'research-consent-can-request-tumor-samples-question.png'); await researchConsentPage.agreeToDrawBloodSamples(); await researchConsentPage.requestStoredSamples(); const agreeToFollowing = page.locator('//ddp-activity-content[.//text()[normalize-space()= "In addition, I agree to all of the following:"]]'); - await expect(agreeToFollowing).toHaveScreenshot(`research-consent-agree-to-following.png`); + await toHaveScreenshot(page, agreeToFollowing, 'research-consent-agree-to-following.png'); const fullNameIndicatesFollowing = page.locator('//ddp-activity-content[.//text()[normalize-space()= "My full name below indicates:"]]'); - await expect(fullNameIndicatesFollowing).toHaveScreenshot(`research-consent-full-name-indicates-following.png`); + await toHaveScreenshot(page, fullNameIndicatesFollowing, 'research-consent-full-name-indicates-following.png'); await researchConsentPage.fillInName(firstName, lastName); await researchConsentPage.fillInDateOfBirth(participant.birthDate.MM, participant.birthDate.DD, participant.birthDate.YYYY); @@ -140,19 +143,19 @@ test.describe.serial('LMS Adult Enrollment', () => { await assertActivityHeader(page, 'Additional Consent Form: Learning About Your Tumor'); const paragraphALocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Introduction")]]'); - await expect(paragraphALocator).toHaveScreenshot(`research-consent-additional-consent-page-A-paragraph.png`); + await toHaveScreenshot(page, paragraphALocator, 'research-consent-additional-consent-page-A-paragraph.png'); const paragraphBLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Brief Description of the Project")]]'); - await expect(paragraphBLocator).toHaveScreenshot(`research-consent-additional-consent-page-B-paragraph.png`); + await toHaveScreenshot(page, paragraphBLocator, 'research-consent-additional-consent-page-B-paragraph.png'); const paragraphCLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "What are the new procedures involved?")]]'); - await expect(paragraphCLocator).toHaveScreenshot(`research-consent-additional-consent-page-C-paragraph.png`); + await toHaveScreenshot(page, paragraphCLocator, 'research-consent-additional-consent-page-C-paragraph.png'); const paragraphDLocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Are there any new risks associated with participating in this portion of the research study?")]]'); - await expect(paragraphDLocator).toHaveScreenshot(`research-consent-additional-consent-page-D-paragraph.png`); + await toHaveScreenshot(page, paragraphDLocator, 'research-consent-additional-consent-page-D-paragraph.png'); const paragraphELocator = page.locator('//li[contains(@class, "ddp-li")][.//*[contains(normalize-space(), "Who do I contact if I have questions about the research study?")]]'); - await expect(paragraphELocator).toHaveScreenshot(`research-consent-additional-consent-page-E-paragraph.png`); + await toHaveScreenshot(page, paragraphELocator, 'research-consent-additional-consent-page-E-paragraph.png'); const additionalConsentPage = new LmsAdditionalConsentPage(page); await additionalConsentPage.agreeToShareWithMeResults('Yes'); @@ -167,9 +170,10 @@ test.describe.serial('LMS Adult Enrollment', () => { const contents = await page.locator('//ddp-activity-content[not(contains(.,"Date"))]').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`medical-release-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `medical-release-content-${i}.png`); } - await expect(page.locator('.ddp-activity-question.Question--AGREEMENT')).toHaveScreenshot(`medical-release-agreement.png`); + + await toHaveScreenshot(page, '.ddp-activity-question.Question--AGREEMENT', 'medical-release-agreement.png'); await medicalReleasePage.fillInPhysicianInstitution(); await medicalReleasePage.agreeToAllowUsToContactPhysicianToObtainRecords(); @@ -186,7 +190,7 @@ test.describe.serial('LMS Adult Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`survey-your-lms-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `survey-your-lms-content-${i}.png`); } await surveyAboutLms.fillInDiagnosedDate('February', '2000'); @@ -210,7 +214,7 @@ test.describe.serial('LMS Adult Enrollment', () => { const contents = await page.locator('.ddp-content').all(); for (let i = 0; i < contents.length; i++) { - await expect(contents[i]).toHaveScreenshot(`survey-about-you-content-${i}.png`); + await toHaveScreenshot(page, contents[i], `survey-about-you-content-${i}.png`); } await surveyAboutYou.sex().toRadiobutton().check('Female'); @@ -230,7 +234,9 @@ test.describe.serial('LMS Adult Enrollment', () => { // Dashboard await expect(page.locator('h1.dashboard-title-section__title span')).toHaveText('Participant Dashboard'); - await expect(page.locator('.infobox_dashboard')).toHaveScreenshot('dashboard-message.png'); - await expect(page.locator('ddp-user-activities [role="table"]')).toHaveScreenshot('dashboard-table.png'); + await toHaveScreenshot(page, '.infobox_dashboard', 'dashboard-message.png'); + await toHaveScreenshot(page, 'ddp-user-activities [role="table"]', 'dashboard-table.png'); + + expect(test.info().errors).toHaveLength(0); }); }) diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png new file mode 100644 index 0000000000..8b64545d79 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png new file mode 100644 index 0000000000..d24c29a8cc Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/dashboard-table-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/get-started-instruction-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/get-started-instruction-dss-linux.png new file mode 100644 index 0000000000..3609533c7d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/get-started-instruction-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png new file mode 100644 index 0000000000..ae9068ea27 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-agreement-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png new file mode 100644 index 0000000000..7d82feda7e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png new file mode 100644 index 0000000000..fd45a0964d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png new file mode 100644 index 0000000000..b7d4e963a8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png new file mode 100644 index 0000000000..5edf3cf004 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/medical-release-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-activity-steps-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-activity-steps-dss-linux.png new file mode 100644 index 0000000000..0f2526335f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-activity-steps-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png new file mode 100644 index 0000000000..e8a67443db Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-A-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..04a9bf9a7e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..61d0705edb Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png new file mode 100644 index 0000000000..984530594f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-D-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..4afc48bfd8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-additional-consent-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png new file mode 100644 index 0000000000..29e59c0014 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-draw-blood-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-following-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-following-dss-linux.png new file mode 100644 index 0000000000..1b8ab8b4c6 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-agree-to-following-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png new file mode 100644 index 0000000000..7eb62771ac Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-can-request-tumor-samples-question-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-form-message-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-form-message-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-form-message-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..69e6b38cba Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..cf2c83d525 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..b92aed6e4d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..5534aba986 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..3276c9b202 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-A-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-B-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-B-paragraph-dss-linux.png new file mode 100644 index 0000000000..a449227e78 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-B-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-C-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-C-paragraph-dss-linux.png new file mode 100644 index 0000000000..78e3d0b509 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-C-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..20a76ae546 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..872b79f693 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-10-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-10-dss-linux.png new file mode 100644 index 0000000000..f6f95be3cb Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-10-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..d3a5567aaa Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..7159f219b8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a1df6cf418 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..aa314defe0 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..c4e0be8062 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..89cb62c959 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..2bbcc37989 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..eab493b191 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-D-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-E-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-E-paragraph-dss-linux.png new file mode 100644 index 0000000000..fc431839cb Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-E-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..265f86a4d6 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..7e62b07567 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..2e9fbc8e5c Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..6f1f16ca11 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..a2fc7a3481 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-F-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-G-paragraph-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-G-paragraph-dss-linux.png new file mode 100644 index 0000000000..c08692a18e Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-form-page-G-paragraph-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png new file mode 100644 index 0000000000..bc9236c35b Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-full-name-indicates-following-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-0-dss-linux.png new file mode 100644 index 0000000000..5f7c51cc02 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-1-dss-linux.png new file mode 100644 index 0000000000..290df407cd Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-darwin.png index 6060835c51..46aec95299 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-linux.png index ef2368fce7..34de27f5ef 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-dss-linux.png new file mode 100644 index 0000000000..34de27f5ef Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-darwin.png index e96294e56f..7cb6443841 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-linux.png index 1d4a98ff86..1a2639f943 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-dss-linux.png new file mode 100644 index 0000000000..1a2639f943 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-darwin.png index 30f75884f9..1977826380 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-linux.png index 4767946139..177ff1ffb3 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-dss-linux.png new file mode 100644 index 0000000000..177ff1ffb3 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-4-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-darwin.png index a698350320..77c1171cb1 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-linux.png index c0c65a3703..e8bb4e9b7f 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-dss-linux.png new file mode 100644 index 0000000000..e8bb4e9b7f Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-5-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-darwin.png index b34829317a..75ccc369d9 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-linux.png index 7d7ac50126..29c1a754f8 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-dss-linux.png new file mode 100644 index 0000000000..29c1a754f8 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-6-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-darwin.png index f6c5572777..3104a303f7 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-linux.png index bff7db26d2..c6c677998d 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-dss-linux.png new file mode 100644 index 0000000000..c6c677998d Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-7-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-darwin.png index f894f328d0..bb74a60105 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-linux.png index ac69e1a48a..0d36c6f29a 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-dss-linux.png new file mode 100644 index 0000000000..0d36c6f29a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-8-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-darwin.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-darwin.png index a61b48b045..6ccbed5746 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-darwin.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-darwin.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-linux.png index aa2378295d..d527b74ef1 100644 Binary files a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-linux.png and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-chromium-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-dss-linux.png new file mode 100644 index 0000000000..d527b74ef1 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-key-points-page-paragraph-9-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png new file mode 100644 index 0000000000..696390181a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/research-consent-sign-consent-info-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-0-dss-linux.png new file mode 100644 index 0000000000..4789694f05 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-1-dss-linux.png new file mode 100644 index 0000000000..6a303cce9a Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-2-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-2-dss-linux.png new file mode 100644 index 0000000000..08a7b52b33 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-3-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-3-dss-linux.png new file mode 100644 index 0000000000..ae16eb1b35 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-about-you-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-0-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-0-dss-linux.png new file mode 100644 index 0000000000..3fa11eebf7 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-0-dss-linux.png differ diff --git a/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-1-dss-linux.png b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-1-dss-linux.png new file mode 100644 index 0000000000..94d97724a4 Binary files /dev/null and b/playwright-e2e/tests/lms/lms-self-consent-enrollment.spec.ts-snapshots/survey-your-lms-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/mbc/mbc-enrollment.spec.ts b/playwright-e2e/tests/mbc/mbc-enrollment.spec.ts index 5bd5084775..15b31f4983 100644 --- a/playwright-e2e/tests/mbc/mbc-enrollment.spec.ts +++ b/playwright-e2e/tests/mbc/mbc-enrollment.spec.ts @@ -1,22 +1,22 @@ import {test} from '@playwright/test'; -import * as utils from '../../utils/test-utils'; -import * as user from '../../data/fake-user.json'; -import {generateUserName} from '../../utils/faker-utils'; -import {MBCHomePage} from '../../dss/pages/mbc/mbc-home-page'; -import {MBCJoinPage} from '../../dss/pages/mbc/mbc-join-page'; -import * as auth from '../../authentication/auth-lms'; -import {logParticipantCreated} from '../../utils/log-utils'; -import {MBCSurveyAboutPage} from '../../dss/pages/mbc/mbc-survey-about-page'; -import {MBCPatientsData} from '../../dss/pages/mbc/mbc-patient-type'; -import {MBCResearchConsentPage} from '../../dss/pages/mbc/mbc-research-consent-page'; -import {MBCMedicalReleasePage} from '../../dss/pages/mbc/mbc-medical-release-page'; -import {MBCFollowUpSurvey1} from '../../dss/pages/mbc/mbc-follow-up-survey-1'; +import * as utils from 'utils/test-utils'; +import * as user from 'data/fake-user.json'; +import {generateUserName} from 'utils/faker-utils'; +import {MBCHomePage} from 'dss/pages/mbc/mbc-home-page'; +import {MBCJoinPage} from 'dss/pages/mbc/mbc-join-page'; +import * as auth from 'authentication/auth-lms'; +import {logParticipantCreated} from 'utils/log-utils'; +import {MBCSurveyAboutPage} from 'dss/pages/mbc/mbc-survey-about-page'; +import {MBCPatientsData} from 'dss/pages/mbc/mbc-patient-type'; +import {MBCResearchConsentPage} from 'dss/pages/mbc/mbc-research-consent-page'; +import {MBCMedicalReleasePage} from 'dss/pages/mbc/mbc-medical-release-page'; +import {MBCFollowUpSurvey1} from 'dss/pages/mbc/mbc-follow-up-survey-1'; const {MBC_USER_EMAIL, MBC_USER_PASSWORD, MBC_BASE_URL, SITE_PASSWORD} = process.env; test.describe.serial('MBC enrolment @mbc', () => { - test('join the movement @enrollment @mbc', async ({page}) => { + test('join the movement @dss @functional @mbc', async ({page}) => { const participant = user.adult; const firstName = generateUserName(participant.firstName); const lastName = generateUserName(participant.lastName); diff --git a/playwright-e2e/tests/osteosarcoma/adult-and-child-enrollment.spec.ts b/playwright-e2e/tests/osteosarcoma/adult-and-child-enrollment.spec.ts index be31a9c2e5..0bb1b5b0ef 100644 --- a/playwright-e2e/tests/osteosarcoma/adult-and-child-enrollment.spec.ts +++ b/playwright-e2e/tests/osteosarcoma/adult-and-child-enrollment.spec.ts @@ -8,7 +8,7 @@ import { waitForResponse } from 'utils/test-utils'; const { OSTEO_USER_EMAIL, OSTEO_USER_PASSWORD } = process.env; -test('Osteo enroll self and kid together @osteo', async ({ page }) => { +test('Osteo enroll self and kid together @dss @osteo', async ({ page }) => { test.slow(); const homePage = new HomePage(page); diff --git a/playwright-e2e/tests/osteosarcoma/adult-enrollment.spec.ts b/playwright-e2e/tests/osteosarcoma/adult-enrollment.spec.ts index d37b3a4990..fa190ea3f1 100644 --- a/playwright-e2e/tests/osteosarcoma/adult-enrollment.spec.ts +++ b/playwright-e2e/tests/osteosarcoma/adult-enrollment.spec.ts @@ -23,7 +23,7 @@ const assertActiveActivityStep = async (page: Page, expectedText: string) => { await expect(page.locator('.activity-step.active')).toHaveText(expectedText); }; -test('Osteo adult self enroll @osteo', async ({ page }) => { +test('Osteo adult self enroll @dss @osteo', async ({ page }) => { test.slow(); const firstName = generateUserName('OS'); @@ -63,7 +63,7 @@ test('Osteo adult self enroll @osteo', async ({ page }) => { await researchConsentPage.agreeToDrawBloodSamples(); await researchConsentPage.requestStoredSamples('Yes'); await researchConsentPage.fillInName(firstName, lastName); - await researchConsentPage.fillInDateOfBirth(patient.birthDate.MM, patient.birthDate.DD, patient.birthDate.YYYY) + await researchConsentPage.fillInDateOfBirth(patient.birthDate.MM, patient.birthDate.DD, patient.birthDate.YYYY); await researchConsentPage.fillInContactAddress({ fullName, country: user.patient.country.name, @@ -79,7 +79,7 @@ test('Osteo adult self enroll @osteo', async ({ page }) => { await consentAddendumPage.agreeToShareAvailableResults().check('Yes'); await consentAddendumPage.signature().fill(fullName); await page.waitForTimeout(2000); - await consentAddendumPage.submit() + await consentAddendumPage.submit(); const medicalReleasePage = new MedicalReleasePage(page); await medicalReleasePage.waitForReady(); @@ -96,9 +96,9 @@ test('Osteo adult self enroll @osteo', async ({ page }) => { await medicalReleasePage.agreeToAllowUsToContactPhysicianToObtainRecords(); await medicalReleasePage.fillInFullName(fullName); - await medicalReleasePage.submit() + await medicalReleasePage.submit(); - await assertActivityHeader(page, 'Survey: About Your Osteosarcoma') + await assertActivityHeader(page, 'Survey: About Your Osteosarcoma'); const surveyAboutOsteosarcoma = new SurveyAboutYourOsteosarcoma(page); await surveyAboutOsteosarcoma.waitForReady(); await surveyAboutOsteosarcoma.next(); @@ -137,7 +137,7 @@ test('Osteo adult self enroll @osteo', async ({ page }) => { await surveyAboutYou.howDidYouHearAboutProject().check('General internet/Online sources (search engines, patient advocacy group website,'); await surveyAboutYou.howOftenDoYouNeedHelpReadHospitalMaterials().toRadiobutton().check('Most of the time'); - await surveyAboutYou.howOftenDoYouHaveProblemsUnderstandWrittenInformation().toRadiobutton().check('A little of the time') + await surveyAboutYou.howOftenDoYouHaveProblemsUnderstandWrittenInformation().toRadiobutton().check('A little of the time'); await surveyAboutYou.howConfidentAreYouFillingOutFormsByYourself().toRadiobutton().check('Occasionally'); await surveyAboutYou.highestLevelOfSchoolCompleted().toRadiobutton().check('High school graduate or equivalent'); await surveyAboutYou.speakLanguage().toRadiobutton().check('English'); diff --git a/playwright-e2e/tests/osteosarcoma/child-enrollment.spec.ts b/playwright-e2e/tests/osteosarcoma/child-enrollment.spec.ts index 84d5a39167..851baeccba 100644 --- a/playwright-e2e/tests/osteosarcoma/child-enrollment.spec.ts +++ b/playwright-e2e/tests/osteosarcoma/child-enrollment.spec.ts @@ -12,8 +12,9 @@ import { logParticipantCreated } from 'utils/log-utils'; const { OSTEO_USER_EMAIL, OSTEO_USER_PASSWORD } = process.env; -test('Osteo enroll kid @osteo', async ({ page }) => { +test('Osteo enroll kid @dss @osteo', async ({ page }) => { test.slow(); + const childFirstName = generateUserName('OS'); const childLastName = generateUserName('OS'); const childFullName = `${childFirstName} ${childLastName}`; diff --git a/playwright-e2e/tests/osteosarcoma/osteo-static-contents.spec.ts b/playwright-e2e/tests/osteosarcoma/osteo-static-contents.spec.ts index 122ad8c8bc..559f64e55d 100644 --- a/playwright-e2e/tests/osteosarcoma/osteo-static-contents.spec.ts +++ b/playwright-e2e/tests/osteosarcoma/osteo-static-contents.spec.ts @@ -1,6 +1,8 @@ import { test } from 'fixtures/osteo-fixture'; -test('Osteo Static Content @osteo', async ({ page }) => { +test('Osteo Static Content @dss @osteo', async ({ page }) => { + test.slow(); + await page .getByRole('heading', { name: 'Together, the osteosarcoma community has the power to move research forward' diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts index f78001d483..fbb2d2c4a2 100644 --- a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts +++ b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts @@ -18,6 +18,8 @@ import HomePage from 'dss/pages/pancan/home-page'; const { PANCAN_USER_EMAIL, PANCAN_USER_PASSWORD } = process.env; test.describe('Adult self-enroll & child (consent) enrollment', () => { + test.slow(); + // Randomize patient last name const lastName = generateUserName(user.adult.lastName); @@ -36,7 +38,7 @@ test.describe('Adult self-enroll & child (consent) enrollment', () => { /** * Participant first go through adult self enrollment, then be taken to the dashboard to continue child’s enrollment */ - test('Adult enroll self and a child (non-assent) at same time @enrollment @pancan @functional', async ({ page }) => { + test('Adult enroll self and a child (non-assent) at same time @enrollment @dss @pancan @functional', async ({ page }) => { const pancanHomePage = new HomePage(page); await pancanHomePage.join({ waitForNav: true }); @@ -140,13 +142,13 @@ test.describe('Adult self-enroll & child (consent) enrollment', () => { expect(headers).toHaveLength(4); // Four columns in table expect(headers).toEqual(orderedHeaders); let researchStatusCell = await table.findCell('Form', 'Research Consent Form', 'Status'); - await expect(await researchStatusCell?.innerText()).toEqual('Complete'); + expect(await researchStatusCell?.innerText()).toBe('Complete'); let medicalReleaseStatusCell = await table.findCell('Form', 'Medical Release Form', 'Status'); - await expect(await medicalReleaseStatusCell?.innerText()).toEqual('Complete'); + expect(await medicalReleaseStatusCell?.innerText()).toBe('Complete'); const cervicalCancerStatusCell = await table.findCell('Form', 'Survey: Your Cervical cancer', 'Status'); - await expect(await cervicalCancerStatusCell?.innerText()).toEqual('Complete'); + expect(await cervicalCancerStatusCell?.innerText()).toBe('Complete'); const aboutYouStatusCell = await table.findCell('Form', 'Survey: About You', 'Status'); - await expect(await aboutYouStatusCell?.innerText()).toEqual('Complete'); + expect(await aboutYouStatusCell?.innerText()).toBe('Complete'); await table.hide(); // Click Add Participant button to add child @@ -221,16 +223,16 @@ test.describe('Adult self-enroll & child (consent) enrollment', () => { expect(headers).toHaveLength(4); // Four columns in table expect(headers).toEqual(orderedHeaders); researchStatusCell = await table2.findCell('Form', 'Research Consent Form - Parent or Guardian', 'Status'); - await expect(await researchStatusCell?.innerText()).toEqual('Complete'); + expect(await researchStatusCell?.innerText()).toEqual('Complete'); medicalReleaseStatusCell = await table2.findCell('Form', 'Medical Release Form', 'Status'); - await expect(await medicalReleaseStatusCell?.innerText()).toEqual('Complete'); + expect(await medicalReleaseStatusCell?.innerText()).toEqual('Complete'); const pancreaticCancerStatusCell = await table2.findCell( 'Form', "Survey: Your Child's Pancreatic cancer / Pancreatic ductal adenocarcinoma (PDAC)", 'Status' ); - await expect(await pancreaticCancerStatusCell?.innerText()).toEqual('Complete'); + expect(await pancreaticCancerStatusCell?.innerText()).toEqual('Complete'); const aboutYouChildStatusCell = await table2.findCell('Form', 'Survey: About Your Child', 'Status'); - await expect(await aboutYouChildStatusCell?.innerText()).toEqual('Complete'); + expect(await aboutYouChildStatusCell?.innerText()).toEqual('Complete'); }); }); diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-contact-physician-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-contact-physician-dss-linux.png new file mode 100644 index 0000000000..4804eb2510 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-contact-physician-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-drawn-blood-samples-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-drawn-blood-samples-dss-linux.png new file mode 100644 index 0000000000..d756283eb3 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-drawn-blood-samples-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-store-cancer-samples-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-store-cancer-samples-dss-linux.png new file mode 100644 index 0000000000..4a44219923 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/agree-to-store-cancer-samples-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/dashboard-content-infobox-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/dashboard-content-infobox-dss-linux.png new file mode 100644 index 0000000000..eb41042553 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/dashboard-content-infobox-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/medical-release-form-content-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/medical-release-form-content-dss-linux.png new file mode 100644 index 0000000000..82ce8e9c77 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/adult-self-and-child-enrollment.spec.ts-snapshots/medical-release-form-content-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/adult-self-enrollment.spec.ts b/playwright-e2e/tests/pancan/enrollment/adult-self-enrollment.spec.ts index 0e79965477..6f32b245a6 100644 --- a/playwright-e2e/tests/pancan/enrollment/adult-self-enrollment.spec.ts +++ b/playwright-e2e/tests/pancan/enrollment/adult-self-enrollment.spec.ts @@ -18,7 +18,7 @@ import HomePage from 'dss/pages/pancan/home-page'; const { PANCAN_USER_EMAIL, PANCAN_USER_PASSWORD } = process.env; test.describe('Enroll myself as adult', () => { - test('can complete self-enrollment @enrollment @pancan @functional', async ({ page }) => { + test('can complete self-enrollment @dss @pancan @functional', async ({ page }) => { const pancanHomePage = new HomePage(page); await pancanHomePage.join({ waitForNav: true }); // Randomize last name @@ -107,12 +107,12 @@ test.describe('Enroll myself as adult', () => { expect(headers).toHaveLength(4); // Four columns in table expect(headers).toEqual(orderedHeaders); const statusResearchCell = await table.findCell('Form', 'Research Consent Form', 'Status'); - await expect(await statusResearchCell?.innerText()).toEqual('Complete'); + expect(await statusResearchCell?.innerText()).toBe('Complete'); const statusMedicalReleaseCell = await table.findCell('Form', 'Medical Release Form', 'Status'); - await expect(await statusMedicalReleaseCell?.innerText()).toEqual('Complete'); + expect(await statusMedicalReleaseCell?.innerText()).toBe('Complete'); const statusCervicalCancerCell = await table.findCell('Form', 'Survey: Your Cervical cancer', 'Status'); - await expect(await statusCervicalCancerCell?.innerText()).toEqual('Complete'); + expect(await statusCervicalCancerCell?.innerText()).toBe('Complete'); const statusAboutYouCell = await table.findCell('Form', 'Survey: About You', 'Status'); - await expect(await statusAboutYouCell?.innerText()).toEqual('Complete'); + expect(await statusAboutYouCell?.innerText()).toBe('Complete'); }); }); diff --git a/playwright-e2e/tests/pancan/enrollment/child-self-enrollment.spec.ts b/playwright-e2e/tests/pancan/enrollment/child-self-enrollment.spec.ts index e8844128a7..d2df5b0f87 100644 --- a/playwright-e2e/tests/pancan/enrollment/child-self-enrollment.spec.ts +++ b/playwright-e2e/tests/pancan/enrollment/child-self-enrollment.spec.ts @@ -20,7 +20,7 @@ const { PANCAN_USER_EMAIL, PANCAN_USER_PASSWORD } = process.env; test.describe('Enroll child ', () => { const lastName = generateUserName(user.patient.lastName); - test('can complete child-enrollment @enrollment @pancan @functional', async ({ page }) => { + test('can complete child-enrollment @dss @pancan @functional', async ({ page }) => { const pancanHomePage = new HomePage(page); await pancanHomePage.join(); @@ -119,12 +119,12 @@ test.describe('Enroll child ', () => { expect(headers).toEqual(orderedHeaders); const researchConsentFormStatusCell = await table.findCell('Form', 'Research Consent Form - Parent or Guardian', 'Status'); - await expect(await researchConsentFormStatusCell?.innerText()).toEqual('Complete'); + expect(await researchConsentFormStatusCell?.innerText()).toBe('Complete'); const medicalReleaseFormStatusCell = await table.findCell('Form', 'Medical Release Form', 'Status'); - await expect(await medicalReleaseFormStatusCell?.innerText()).toEqual('Complete'); + expect(await medicalReleaseFormStatusCell?.innerText()).toBe('Complete'); const leukemiaCancerStatusCell = await table.findCell('Form', "Survey: Your Child's Leukemia (not otherwise specified)", 'Status'); - await expect(await leukemiaCancerStatusCell?.innerText()).toEqual('Complete'); + expect(await leukemiaCancerStatusCell?.innerText()).toBe('Complete'); const aboutYourChildFormStatusCell = await table.findCell('Form', 'Survey: About Your Child', 'Status'); - await expect(await aboutYourChildFormStatusCell?.innerText()).toEqual('Complete'); + expect(await aboutYourChildFormStatusCell?.innerText()).toBe('Complete'); }); }); diff --git a/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts index 7c27c72686..6f0def7f34 100644 --- a/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts +++ b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts @@ -9,7 +9,7 @@ import { assertHeader } from 'utils/assertion-helper'; import { fillSitePassword } from 'utils/test-utils'; test.describe('Redirect to Brain cancer project', () => { - test('When selecting Glioblastoma as diagnosed cancer @enrollment @pancan', async ({ page }) => { + test('When selecting Glioblastoma as diagnosed cancer @dss @pancan', async ({ page }) => { const pancanHomePage = new HomePage(page); await pancanHomePage.join({ waitForNav: true }); diff --git a/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-about-info-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-about-info-dss-linux.png new file mode 100644 index 0000000000..466e4c526d Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-about-info-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-introduction-text-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-introduction-text-dss-linux.png new file mode 100644 index 0000000000..e1edba5618 Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/brain-cancer-project-introduction-text-dss-linux.png differ diff --git a/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/modal-redirect-dss-linux.png b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/modal-redirect-dss-linux.png new file mode 100644 index 0000000000..c295a2fe0c Binary files /dev/null and b/playwright-e2e/tests/pancan/enrollment/redirect-glioblastoma-study.spec.ts-snapshots/modal-redirect-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/adult-enrollment.spec.ts b/playwright-e2e/tests/rgp/adult-enrollment.spec.ts index 7559432110..ed36e56f29 100644 --- a/playwright-e2e/tests/rgp/adult-enrollment.spec.ts +++ b/playwright-e2e/tests/rgp/adult-enrollment.spec.ts @@ -25,7 +25,7 @@ test.describe.serial('Adult Self Enrollment', () => { await expect(locator).toContainText(itemName); }; - test('Can complete application @functional @enrollment @rgp', async ({ page }) => { + test('Can complete application @functional @@dss @rgp', async ({ page }) => { const homePage = new HomePage(page); await homePage.clickGetStarted(); @@ -145,17 +145,17 @@ test.describe.serial('Adult Self Enrollment', () => { const actionsCell = await table.findCell('Form', 'Tell us about your family', 'Actions'); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const viewButton = table.findButtonInCell(actionsCell!, { label: 'View' }); - await expect(viewButton).toBeTruthy(); + expect(viewButton).toBeTruthy(); // Make sure the View button in table cell is working by clicking it and checks page navigation await viewButton.click(); await tellUsAboutYourFamily.waitForReady(); // fields should be disabled. check one field to verify is disabled - expect(await tellUsAboutYourFamily.yourTitle().isDisabled()).toEqual(true); - expect(await tellUsAboutYourFamily.yourFirstName().isDisabled()).toEqual(true); + expect(await tellUsAboutYourFamily.yourTitle().isDisabled()).toBe(true); + expect(await tellUsAboutYourFamily.yourFirstName().isDisabled()).toBe(true); }); //Skipping until PEPPER-692 is done - which will let this pass consistently in dev and not just test - test.skip('Go to DSM to verify the newly created account can be found @functional @rgp', async ({ page, request }) => { + test.skip('Go to DSM to verify the newly created account can be found @dss @functional @rgp', async ({ page, request }) => { //Go to DSM to verify the newly created account can be found there await login(page); const navigation = new Navigation(page, request); diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts b/playwright-e2e/tests/rgp/child-enrollment.spec.ts index 5ff2987b84..4b52e91e4f 100644 --- a/playwright-e2e/tests/rgp/child-enrollment.spec.ts +++ b/playwright-e2e/tests/rgp/child-enrollment.spec.ts @@ -19,7 +19,7 @@ test.describe('Child Enrollment', () => { await expect(locator).toContainText(itemName); }; - test('Enroll a child (under 18) @functional @enrollment @rgp @visual', async ({ page }) => { + test('Enroll a child (under 18) @functional @dss @rgp @visual', async ({ page }) => { const child = user.child; const adult = user.adult; @@ -167,14 +167,14 @@ test.describe('Child Enrollment', () => { const actionsCell = await table.findCell('Form', 'Tell us about your family', 'Actions'); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const viewButton = table.findButtonInCell(actionsCell!, { label: 'View' }); - await expect(viewButton).toBeTruthy(); + expect(viewButton).toBeTruthy(); // Make sure the View button in table cell is working by clicking it and checks page navigation await viewButton.click(); await tellUsAboutYourFamily.waitForReady(); // fields should be disabled. check one field to verify is disabled - expect(await tellUsAboutYourFamily.yourTitle().isDisabled()).toEqual(true); + expect(await tellUsAboutYourFamily.yourTitle().isDisabled()).toBe(true); expect(await tellUsAboutYourFamily.yourTitle().toQuestion().screenshot()).toMatchSnapshot('your-title-field-disabled.png'); - expect(await tellUsAboutYourFamily.yourFirstName().isDisabled()).toEqual(true); + expect(await tellUsAboutYourFamily.yourFirstName().isDisabled()).toBe(true); }); }); diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/account-verification-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/account-verification-dss-linux.png new file mode 100644 index 0000000000..09f9a4de61 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/account-verification-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-darwin.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-darwin.png index b443a3032d..732515684f 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-darwin.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-darwin.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-linux.png index 5c8cac6c24..7c57d49c04 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-linux.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-chromium-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-dss-linux.png new file mode 100644 index 0000000000..7c57d49c04 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-1-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-2-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-2-dss-linux.png new file mode 100644 index 0000000000..0bde68b963 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-darwin.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-darwin.png index b956c81441..e69ebb80ff 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-darwin.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-linux.png index 2805a08061..10a9b38dfd 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-linux.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-dss-linux.png new file mode 100644 index 0000000000..10a9b38dfd Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/activity-content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-2-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-2-dss-linux.png new file mode 100644 index 0000000000..cc7555c207 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-2-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-darwin.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-darwin.png index 8ea868317d..cb329f49d9 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-darwin.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-darwin.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-linux.png index abc07f0389..2f57fc4bee 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-linux.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-chromium-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-dss-linux.png new file mode 100644 index 0000000000..2f57fc4bee Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/content-3-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-forms-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-forms-dss-linux.png new file mode 100644 index 0000000000..1dec11e43a Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-forms-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-1-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-1-dss-linux.png new file mode 100644 index 0000000000..1898d21a13 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-1-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-2-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-2-dss-linux.png new file mode 100644 index 0000000000..694e45b0c2 Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/dashboard-info-message-2-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-chromium-darwin.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-chromium-darwin.png index d1ea440bb7..bffda25a3c 100644 Binary files a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-chromium-darwin.png and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-chromium-darwin.png differ diff --git a/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-dss-linux.png b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-dss-linux.png new file mode 100644 index 0000000000..000f2f847a Binary files /dev/null and b/playwright-e2e/tests/rgp/child-enrollment.spec.ts-snapshots/your-title-field-disabled-dss-linux.png differ diff --git a/playwright-e2e/tests/rgp/dsm-family-enrollment.spec.ts b/playwright-e2e/tests/rgp/dsm-family-enrollment.spec.ts index a0ab96bdb2..669ef19764 100644 --- a/playwright-e2e/tests/rgp/dsm-family-enrollment.spec.ts +++ b/playwright-e2e/tests/rgp/dsm-family-enrollment.spec.ts @@ -11,11 +11,13 @@ import RgpParticipantPage from 'dsm/pages/participant-page/rgp/rgp-participant-p import { saveParticipantGuid } from 'utils/faker-utils'; import { ParticipantListTable } from 'dsm/component/tables/participant-list-table'; import { calculateAge } from 'utils/date-utils'; +import { logInfo } from 'utils/log-utils'; -let rgpEmail: string; test.describe.serial('DSM Family Enrollment Handling', () => { - test('Verify the display and functionality of family account dynamic fields @functional @rgp', async ({ page, request}) => { + let rgpEmail: string; + + test.skip('Verify the display and functionality of family account dynamic fields @dss @functional @rgp', async ({ page, request}) => { const navigation = new Navigation(page, request); //select RGP study @@ -40,6 +42,7 @@ test.describe.serial('DSM Family Enrollment Handling', () => { //Confirm the 'Add Family Member' button is visible const rgpParticipantPage = new RgpParticipantPage(page); rgpEmail = await rgpParticipantPage.getEmail(); //Get the actual email used for the family account - to be used later + expect(rgpEmail).not.toBeNull(); const addFamilyMemberButton = rgpParticipantPage.addFamilyMemberDialog._addFamilyMemberButton; await expect(addFamilyMemberButton).toBeVisible(); @@ -82,7 +85,7 @@ test.describe.serial('DSM Family Enrollment Handling', () => { }); //Skipping until housekeeping stuff is fixed - test.skip('Verify that the proband family member tab can be filled out @functional @rgp @proband', async ({ page, request }) => { + test.skip('Verify that the proband family member tab can be filled out @dss @functional @rgp @proband', async ({ page, request }) => { //Go into DSM const navigation = new Navigation(page, request); @@ -155,8 +158,8 @@ test.describe.serial('DSM Family Enrollment Handling', () => { const familyIDFromSubjectID = await proband.getFamilyIDFromSubjectID(); const familyIDFromFamilyMemberTab = await proband.getFamilyIDFromFamilyMemberTab(); - await expect(familyIDFromSubjectID).toEqual(proband.familyID); - await expect(familyIDFromFamilyMemberTab).toEqual(proband.familyID); + expect(familyIDFromSubjectID).toBe(proband.familyID); + expect(familyIDFromFamilyMemberTab).toBe(proband.familyID); //Prep for checking note content in Participant Info later on const importantNotesTextarea = proband.getImportantNotes(); @@ -231,12 +234,12 @@ test.describe.serial('DSM Family Enrollment Handling', () => { const importantNotes = await proband.getImportantNotesContent(); const processNotes = await proband.getProcessNotesContent(); const mixedRaceNotes = await proband.getMixedRaceNotesContent(); - expect(mixedRaceNotes).toEqual(mixedRaceTestingNotes); + expect(mixedRaceNotes).toBe(mixedRaceTestingNotes); //Go back to Participant List and refresh using Reload with Default Filters const familyAccount = new RgpParticipantPage(page); await familyAccount.backToList(); - participantListPage.filters.reloadWithDefaultFilters; + await participantListPage.filters.reloadWithDefaultFilters(); await expect(filteredList).toHaveCount(1); await participantListTable.openParticipantPageAt(0); @@ -246,9 +249,9 @@ test.describe.serial('DSM Family Enrollment Handling', () => { await expect(probandTab).toHaveClass('nav-link active'); //Make sure proband tab is opened await participantInfoSection.click(); - expect(await importantNotesTextarea.inputValue()).toEqual(importantNotes); - expect(await processNotesTextarea.inputValue()).toEqual(processNotes); - expect(await mixedRaceTextarea.inputValue()).toEqual(mixedRaceNotes); + expect(await importantNotesTextarea.inputValue()).toBe(importantNotes); + expect(await processNotesTextarea.inputValue()).toBe(processNotes); + expect(await mixedRaceTextarea.inputValue()).toBe(mixedRaceNotes); //Fill out Contact Info section const contactInfoSection = proband.getContactInfoSection(); @@ -263,7 +266,7 @@ test.describe.serial('DSM Family Enrollment Handling', () => { //Verify that the proband's preferred email matches the email of the family account const email = proband.getPreferredEmail(); const familyAccountEmail = await familyAccount.getEmail(); - expect(await email.inputValue()).toEqual(familyAccountEmail); + expect(await email.inputValue()).toBe(familyAccountEmail); //Verify that Send Secure has a default value of 'Unknown' const sendSecure = proband.getSendSecure(); @@ -422,7 +425,7 @@ test.describe.serial('DSM Family Enrollment Handling', () => { await expect(methlytation).toHaveText('No'); //The default value of Blood RNASeq? is 'N/A' - const bloodRNASeqNotApplicable = proband.getBloodRnaSeq('N/A') + const bloodRNASeqNotApplicable = proband.getBloodRnaSeq('N/A'); await expect(bloodRNASeqNotApplicable).toBeChecked(); //Fill out Tissue section @@ -515,4 +518,253 @@ test.describe.serial('DSM Family Enrollment Handling', () => { const redCapSurveyCompletedDate = proband.getRedCapSurveyCompletedDate(); await redCapSurveyCompletedDate.fill(`${currentDate[0]}/${currentDate[1]}/${currentDate[2]}`);//[0] is MM, [1] is DD, [2] is YYYY }); + + test.skip('Verify that a family member can be added without copying proband info @dss @rgp @functional', async ({ page, request }) => { + //Add a new family member + //Go into DSM + const navigation = new Navigation(page, request); + + //select RGP study + await new Select(page, { label: 'Select study' }).selectOption('RGP'); + + //Verify the Participant List is displayed + const participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); + await participantListPage.assertPageTitle(); + await participantListPage.waitForReady(); + + //Get the most recent automated test participant (searches for up to a week ago) + const participantListTable = new ParticipantListTable(page); + const participantGuid = await participantListTable.getGuidOfMostRecentAutomatedParticipant(user.patient.firstName, true); + saveParticipantGuid(participantGuid); + + await participantListPage.filterListByParticipantGUID(user.patient.participantGuid); + await participantListTable.openParticipantPageAt(0); + const rgpParticipantPage = new RgpParticipantPage(page); + + const familyMemberForm = rgpParticipantPage.addFamilyMemberDialog; + + //Setup new family member + const grandfather = new FamilyMemberTab(page, FamilyMember.MATERNAL_GRANDFATHER); + grandfather.relationshipID = user.maternalGrandFather.relationshipID; + grandfather.firstName = user.maternalGrandFather.firstName; + grandfather.lastName = user.maternalGrandFather.lastName; + + //Fill family member form + await familyMemberForm.fillInfo({ + firstName: grandfather.firstName, + lastName: grandfather.lastName, + relationshipId: parseInt(grandfather.relationshipID), + relation: grandfather.relationToProband as string, + copyProbandInfo: false + }); + + //Check that the expected Participant Info fields have been filled after non-copied family member creation + const maternalGrandFatherFamilyMemberTab = grandfather.getFamilyMemberTab(); + await maternalGrandFatherFamilyMemberTab.scrollIntoViewIfNeeded(); + await expect(maternalGrandFatherFamilyMemberTab).toBeVisible(); + + await maternalGrandFatherFamilyMemberTab.click(); + await expect(maternalGrandFatherFamilyMemberTab).toHaveClass('nav-link active'); //Make sure the tab is in view and selected + const maternalGrandfatherFamilyID = await grandfather.getFamilyIDFromFamilyMemberTab(); + + const maternalGrandfatherParticipantInfoSection = grandfather.getParticipantInfoSection(); + await maternalGrandfatherParticipantInfoSection.click(); + + const maternalGrandfatherSubjectIDField = grandfather.getSubjectID(); + await expect(maternalGrandfatherSubjectIDField).not.toBeEmpty(); + + const maternalGrandfatherFamilyIDField = grandfather.getFamilyID(); + await expect(maternalGrandfatherFamilyIDField).not.toBeEmpty(); + await expect(maternalGrandfatherFamilyIDField).not.toBeEditable(); + + const maternalGrandfatherFirstNameField = grandfather.getFirstName(); + await expect(maternalGrandfatherFirstNameField).toHaveValue(grandfather.firstName); + + //Middle name is not set in family member creation - check that it has no input for non-copied family member - intended to be a canary in coal mine assertion + const maternalGrandfatherMiddleNameField = grandfather.getMiddleName(); + await expect(maternalGrandfatherMiddleNameField).toHaveValue(''); + + const maternalGrandfatherLastNameField = grandfather.getLastName(); + await expect(maternalGrandfatherLastNameField).toHaveValue(grandfather.lastName); + + const maternalGrandfatherIsAliveRadioButton = grandfather.getLivingStatusOption('Alive'); + await expect(maternalGrandfatherIsAliveRadioButton).toBeChecked(); + + const maternalGrandfatherRelationshipToProband = grandfather.getRelationshipToProband(); + await expect(maternalGrandfatherRelationshipToProband).toHaveText('Maternal Grandfather'); + + //Check that the newly added family member has the same family id as the proband - check added due to non-prod bug that occurs occassionaly + //Setup to check the existing proband information + const proband = new FamilyMemberTab(page, FamilyMember.PROBAND); + proband.relationshipID = user.patient.relationshipID; + + const probandFamilyMemberTab = proband.getFamilyMemberTab(); + await expect(probandFamilyMemberTab).toBeVisible(); + const probandFamilyID = await proband.getFamilyIDFromFamilyMemberTab(); + + logInfo(`grandfather family id ${maternalGrandfatherFamilyID} vs proband family id: ${probandFamilyID}`); + expect(maternalGrandfatherFamilyID).toBe(probandFamilyID); + }); + + test.skip('Verify that a family member can be added using copied proband info @dss @rgp @functional', async ({ page, request }) => { + //Go into DSM + const navigation = new Navigation(page, request); + + //select RGP study + await new Select(page, { label: 'Select study' }).selectOption('RGP'); + + //Verify the Participant List is displayed + const participantListPage = await navigation.selectFromStudy(StudyNavEnum.PARTICIPANT_LIST); + await participantListPage.assertPageTitle(); + await participantListPage.waitForReady(); + + //Get the most recent automated test participant (searches for up to a week ago) + const participantListTable = new ParticipantListTable(page); + const participantGuid = await participantListTable.getGuidOfMostRecentAutomatedParticipant(user.patient.firstName, true); + saveParticipantGuid(participantGuid); + + await participantListPage.filterListByParticipantGUID(user.patient.participantGuid); + await participantListTable.openParticipantPageAt(0); + + //Setup family members - for creation and comparison + const brother = new FamilyMemberTab(page, FamilyMember.BROTHER); + brother.relationshipID = user.brother.relationshipID; + brother.firstName = user.brother.firstName; + brother.lastName = user.brother.lastName; + + const proband = new FamilyMemberTab(page, FamilyMember.PROBAND); + proband.firstName = user.patient.firstName; + proband.lastName = user.patient.lastName; + proband.relationshipID = user.patient.relationshipID; + + await test.step('Create a copied family member a.k.a the brother', async () => { + //Add a new family member + const rgpParticipantPage = new RgpParticipantPage(page); + const familyMemberForm = rgpParticipantPage.addFamilyMemberDialog; + + //Fill family member form + await familyMemberForm.fillInfo({ + firstName: brother.firstName, + lastName: brother.lastName, + relationshipId: parseInt(brother.relationshipID), + relation: brother.relationToProband as string, + copyProbandInfo: true + }); + }); + + await test.step(`Check that brother's info matches proband info`, async () => { + const brotherFamilyMemberTab = brother.getFamilyMemberTab(); + await brotherFamilyMemberTab.scrollIntoViewIfNeeded(); + await expect(brotherFamilyMemberTab).toBeVisible(); + await brotherFamilyMemberTab.click(); + await expect(brotherFamilyMemberTab).toHaveClass('nav-link active'); //Make sure the tab is in view and selected + + //Verify Participant Info data is as expected - first gather brother's info + const brotherParticipantInfoSection = brother.getParticipantInfoSection(); + await brotherParticipantInfoSection.click(); + + const brotherSubjectID = brother.getSubjectID(); + await expect(brotherSubjectID).not.toBeEmpty(); + + const brotherFamilyID = await brother.getFamilyIDFromSubjectID(); //Compare this with proband's to make sure family members get the same family id + const brotherFamilyIDField = brother.getFamilyID(); + await expect(brotherFamilyIDField).not.toBeEditable(); + + const brotherImportantNotes = brother.getImportantNotes(); + const brotherImportantNotesContents = await brother.getImportantNotesContent(); + await expect(brotherImportantNotes).not.toBeEmpty(); + + const brotherProcessNotes = brother.getProcessNotes(); + const brotherProcessNotesContent = await brother.getProcessNotesContent(); + await expect(brotherProcessNotes).not.toBeEmpty(); + + const brotherFirstNameField = brother.getFirstName(); + await expect(brotherFirstNameField).toHaveValue(user.brother.firstName); + + const brotherMiddleNameField = brother.getMiddleName(); //Should have the same as proband, used for comparison later + + const brotherLastNameField = brother.getLastName(); + await expect(brotherLastNameField).toHaveValue(user.brother.lastName); + + const brotherNameSuffix = brother.getNameSuffix(); + const brotherPreferredLanguage = brother.getPreferredLanguage(); + const brotherSex = brother.getSex(); + const brotherPronouns = brother.getPronouns(); + const brotherDateOfBirth = brother.getDateOfBirth(); + const brotherAgeToday = brother.getAgeToday(); + + const brotherIsAliveRadioButton = brother.getLivingStatusOption('Alive'); + await expect(brotherIsAliveRadioButton).toBeChecked(); + + const brotherRelationshipToProband = brother.getRelationshipToProband(); + await expect(brotherRelationshipToProband).toHaveText('Brother'); + + const brotherAffectedStatus = brother.getAffectedStatus(); + const brotherRace = brother.getRace(); + const brotherEthnicity = brother.getEthnicity(); + const brotherMixedRaceNotes = await brother.getMixedRaceNotesContent(); + + //Do Participant Info comparison of proband and brother + const probandTab = proband.getFamilyMemberTab(); + await probandTab.click(); + + const probandParticipantInfoSection = proband.getParticipantInfoSection(); + await probandParticipantInfoSection.click(); + + const probandSubjectID = proband.getSubjectID(); + await expect(probandSubjectID).not.toBeEmpty(); + + const probandFamilyIDField = proband.getFamilyID(); + await expect(probandFamilyIDField).not.toBeEmpty(); + await expect(probandFamilyIDField).not.toBeEditable(); + const probandFamilyID = await proband.getFamilyIDFromSubjectID(); + + //Compare family member family ids + expect(brotherFamilyID).toBe(probandFamilyID); + + //Compare the rest of the expected copied Participant Info fields + const probandImportantNotesContent = await proband.getImportantNotesContent(); + expect(brotherImportantNotesContents).toBe(probandImportantNotesContent); + + const probandProcessNotesContent = await proband.getProcessNotesContent(); + expect(brotherProcessNotesContent).toBe(probandProcessNotesContent); + + const probandMiddleNameField = proband.getMiddleName(); + expect(brotherMiddleNameField).toBe(probandMiddleNameField); + + const probandNameSuffix = proband.getNameSuffix(); + expect(brotherNameSuffix).toBe(probandNameSuffix); + + const probandPreferredLanguage = proband.getPreferredLanguage(); + await expect(brotherPreferredLanguage).toHaveText(await probandPreferredLanguage.innerText()); + + const probandSex = proband.getSex(); + await expect(brotherSex).toHaveText(await probandSex.innerText()); + + const probandPronouns = proband.getPronouns(); + await expect(brotherPronouns).toHaveText(await probandPronouns.innerText()); + + const probandDateOfBirth = proband.getDateOfBirth(); + expect(brotherDateOfBirth).toBe(probandDateOfBirth); + + const probandAgeToday = proband.getAgeToday(); + expect(brotherAgeToday).toBe(probandAgeToday); + + const probandIsAliveRadioBUtton = proband.getLivingStatusOption('Alive'); + await expect(probandIsAliveRadioBUtton).toBeChecked(); + await expect(brotherIsAliveRadioButton).toBeChecked(); + + const probandAffectedStatus = proband.getAffectedStatus(); + await expect(brotherAffectedStatus).toHaveText(await probandAffectedStatus.innerText()); + + const probandRace = proband.getRace(); + await expect(brotherRace).toHaveText(await probandRace.innerText()); + + const probandEthnicity = proband.getEthnicity(); + await expect(brotherEthnicity).toHaveText(await probandEthnicity.innerText()); + + const probandMixedRaceNotesContent = await proband.getMixedRaceNotesContent(); + expect(brotherMixedRaceNotes).toBe(probandMixedRaceNotesContent); + }) + }); }); diff --git a/playwright-e2e/tests/rgp/email-verification-required.spec.ts b/playwright-e2e/tests/rgp/email-verification-required.spec.ts index 3a70da5992..3aa238bd72 100644 --- a/playwright-e2e/tests/rgp/email-verification-required.spec.ts +++ b/playwright-e2e/tests/rgp/email-verification-required.spec.ts @@ -8,7 +8,7 @@ import HomePage from 'dss/pages/rgp/home-page'; const { RGP_USER_EMAIL, RGP_USER_PASSWORD, RGP_BASE_URL } = process.env; test.describe('Registration requires email Verification', () => { - test('Login is blocked without verification @functional @enrollment @rgp', async ({ page }) => { + test('Login is blocked without verification @functional @dss @rgp', async ({ page }) => { const homePage = new HomePage(page); await homePage.clickGetStarted(); @@ -35,6 +35,6 @@ test.describe('Registration requires email Verification', () => { await expect(page.locator('.PageHeader-title')).toHaveText('Email verification required'); await expect(page.locator('p.Paragraph')).toHaveText('Please verify your email using the link that was sent to your email address.'); - expect(page.url()).toEqual(`${RGP_BASE_URL}/email-verification-required`); + expect(page.url()).toBe(`${RGP_BASE_URL}/email-verification-required`); }); }); diff --git a/playwright-e2e/tests/singular/enrollment/adult-dependent-enrollment.spec.ts b/playwright-e2e/tests/singular/enrollment/adult-dependent-enrollment.spec.ts index 05cf8b3a92..822df8aa62 100644 --- a/playwright-e2e/tests/singular/enrollment/adult-dependent-enrollment.spec.ts +++ b/playwright-e2e/tests/singular/enrollment/adult-dependent-enrollment.spec.ts @@ -137,7 +137,7 @@ test.describe.skip('Enrol an adult dependent', () => { const table = dashboardPage.getDashboardTable(); const headers = await table.getHeaderNames(); expect(headers).toHaveLength(4); // Four columns in table - expect(headers).toEqual(orderedHeaders); + expect(headers).toBe(orderedHeaders); const summaryCell = await table.findCell('Title', 'Consent Form for Adult Dependent', 'Summary'); await expect(summaryCell!).toHaveText('Thank you for signing the consent form -- welcome to Project Singular!'); diff --git a/playwright-e2e/tests/singular/enrollment/adult-self-enrollment.spec.ts b/playwright-e2e/tests/singular/enrollment/adult-self-enrollment.spec.ts index a9900af020..9a8300302c 100644 --- a/playwright-e2e/tests/singular/enrollment/adult-self-enrollment.spec.ts +++ b/playwright-e2e/tests/singular/enrollment/adult-self-enrollment.spec.ts @@ -106,7 +106,7 @@ test.describe.skip('Enroll myself as adult', () => { const table = dashboardPage.getDashboardTable(); const headers = await table.getHeaderNames(); expect(headers).toHaveLength(4); // Four columns in table - expect(headers).toEqual(orderedHeaders); + expect(headers).toBe(orderedHeaders); const summaryCell = await table.findCell('Title', 'Consent', 'Summary'); await expect(summaryCell!).toHaveText('Thank you for signing the consent form -- welcome to Project Singular!'); diff --git a/playwright-e2e/tests/singular/enrollment/child-cognitive-impairment-non-assenting-enrollement.spec.ts b/playwright-e2e/tests/singular/enrollment/child-cognitive-impairment-non-assenting-enrollement.spec.ts index 2dc075e894..858df3292e 100644 --- a/playwright-e2e/tests/singular/enrollment/child-cognitive-impairment-non-assenting-enrollement.spec.ts +++ b/playwright-e2e/tests/singular/enrollment/child-cognitive-impairment-non-assenting-enrollement.spec.ts @@ -127,7 +127,7 @@ test.describe.skip('Enroll child with cognitive impairment', () => { const table = dashboardPage.getDashboardTable(); const headers = await table.getHeaderNames(); expect(headers).toHaveLength(4); // Four columns in table - expect(headers).toEqual(orderedHeaders); + expect(headers).toBe(orderedHeaders); const summaryCell = await table.findCell('Title', 'Consent Form for Minor Dependent', 'Summary'); await expect(summaryCell!).toHaveText('Thank you for signing the consent form -- welcome to Project Singular!'); diff --git a/playwright-e2e/tests/singular/home/home-page-visual.spec.ts b/playwright-e2e/tests/singular/home/home-page-visual.spec.ts index 090ddc86bb..98574a0a90 100644 --- a/playwright-e2e/tests/singular/home/home-page-visual.spec.ts +++ b/playwright-e2e/tests/singular/home/home-page-visual.spec.ts @@ -25,7 +25,7 @@ test.describe.skip('Home page', () => { const partners: Locator = page.locator('.partners .partners-list-item a'); const count = await partners.count(); - expect(count).toEqual(4); // Total 4 partners at the time of writing + expect(count).toBe(4); // Total 4 partners at the time of writing for (let i = 0; i < count; i++) { await expect(partners.nth(i)).toBeVisible(); // Ensure visible } @@ -35,7 +35,7 @@ test.describe.skip('Home page', () => { }) ); - expect(actualHrefs).toEqual(orderedHrefs); // Ensure href match + expect(actualHrefs).toBe(orderedHrefs); // Ensure href match }); test('match participating steps @home @visual @singular', async ({ page, homePage }) => { @@ -45,7 +45,7 @@ test.describe.skip('Home page', () => { await expect(steps.first()).toBeVisible(); const count = await steps.count(); - expect(count).toEqual(3); + expect(count).toBe(3); const step1Title = page.locator('.participating-steps-step', { hasText: 'STEP 1' }); diff --git a/playwright-e2e/utils/api-utils.ts b/playwright-e2e/utils/api-utils.ts index f01493f849..8ddf90f698 100644 --- a/playwright-e2e/utils/api-utils.ts +++ b/playwright-e2e/utils/api-utils.ts @@ -81,7 +81,7 @@ export async function getAuth0AccessToken(app: APP): Promise { audience: `${credentials.audience}` }) }) - .then((res) => res.json()) + .then(async (res) => res.json()) .then((json) => { return json.access_token; }) diff --git a/playwright-e2e/utils/assertion-helper.ts b/playwright-e2e/utils/assertion-helper.ts index 341e9bd0e9..5972c852c7 100644 --- a/playwright-e2e/utils/assertion-helper.ts +++ b/playwright-e2e/utils/assertion-helper.ts @@ -27,7 +27,7 @@ export const assertActivityStep = async (page: Page, expectedText: string) => { export const assertSelectedOption = async (locator: Locator, expectedOption: string) => { await expect(async () => { const selectedOption = await locator.evaluate((node) => node.value); - expect(selectedOption).toEqual(expectedOption); + expect(selectedOption).toBe(expectedOption); }).toPass({ timeout: 5000 }); }; @@ -35,5 +35,5 @@ export const assertTableHeaders = (actualHeaders: string[], expectedHeaders: str const filterActualHeaders = actualHeaders.filter(value => !!value); const filterExpectedHeaders = expectedHeaders.filter(value => !!value); expect(filterActualHeaders).toHaveLength(filterExpectedHeaders.length); - expect(filterActualHeaders).toEqual(filterExpectedHeaders); -} + expect(filterActualHeaders).toStrictEqual(filterExpectedHeaders); +}; diff --git a/playwright-e2e/utils/date-utils.ts b/playwright-e2e/utils/date-utils.ts index fa23926b34..62af04f5d7 100644 --- a/playwright-e2e/utils/date-utils.ts +++ b/playwright-e2e/utils/date-utils.ts @@ -3,7 +3,7 @@ export function dateFormat(): Intl.DateTimeFormat { month: '2-digit', day: '2-digit', year: 'numeric', - // timeZone: 'America/New_York' + timeZone: 'America/New_York' }) } diff --git a/playwright-e2e/utils/email-utils.ts b/playwright-e2e/utils/email-utils.ts index 035d0f4548..6b63b2130e 100644 --- a/playwright-e2e/utils/email-utils.ts +++ b/playwright-e2e/utils/email-utils.ts @@ -95,6 +95,6 @@ export async function checkUserReceivedEmails(emailedTo: string, emailChecks: Em for (let i = 0; i < emailChecks.length; i++) { const email = emailChecks[i]; const foundEmail = await hasUserReceivedEmail(emailedTo, email.subject, email.textProbe); - await expect.soft(foundEmail, `Email '${email.subject}' to ${emailedTo}`).toBeTruthy(); + expect.soft(foundEmail, `Email '${email.subject}' to ${emailedTo}`).toBeTruthy(); } } diff --git a/playwright-e2e/utils/faker-utils.ts b/playwright-e2e/utils/faker-utils.ts index 99ceb81ca3..ac1f585c56 100644 --- a/playwright-e2e/utils/faker-utils.ts +++ b/playwright-e2e/utils/faker-utils.ts @@ -46,3 +46,16 @@ export const saveParticipantGuid = (guid: string) => { user.patient.participantGuid = guid; }; +/** + * Takes a short id that is presumed to have the study in it e.g. RGP_1234_56 and + * returns the short id without the study name prefix e.g. 1234_56 + * @param shortId the short id + * @param studyName the study name/alias used in the short id e.g. RGP + * @returns simplified short id + */ +export const simplifyShortID = (shortId: string, studyName: string): string => { + const shortIdParts = shortId.split(`${studyName}_`); // Use 'RGP_' to determine where to split + const rgpPrefix = shortIdParts[0]; //RGP_ prefix + const simplifiedShortID = shortIdParts[1]; //The subject id to be used as short id + return simplifiedShortID; +}; diff --git a/playwright-e2e/utils/file-utils.ts b/playwright-e2e/utils/file-utils.ts index b183c8d7d7..8c6bf476ff 100644 --- a/playwright-e2e/utils/file-utils.ts +++ b/playwright-e2e/utils/file-utils.ts @@ -1,5 +1,7 @@ import fs from 'fs'; import csv from 'csv-parser'; +import { logError, logInfo } from 'utils/log-utils'; + export interface MailListCSV { email: string; @@ -12,9 +14,9 @@ export function createTextFileSync(dir: string, pathName: string, data: string) try { fs.mkdirSync(dir, { recursive: true }); fs.writeFileSync(pathName, data); - console.log(`File: ${pathName} - created successfully`) + logInfo(`File: ${pathName} - created successfully`) } catch (error) { - console.error(`Couldn't create the File: ${pathName}`); + logError(`Couldn't create the File: ${pathName}`); throw error; } } @@ -22,9 +24,9 @@ export function createTextFileSync(dir: string, pathName: string, data: string) export function deleteFileSync(pathName: string) { try { fs.unlinkSync(pathName); - console.log(`File: ${pathName} - deleted successfully`); + logInfo(`File: ${pathName} - deleted successfully`); } catch (error) { - console.error(`Couldn't delete the File: ${pathName}`); + logError(`Couldn't delete the File: ${pathName}`); throw error; } } @@ -43,3 +45,5 @@ export async function readMailListCSVFile(filePath: string | null): Promise reject(error)); }); } + + diff --git a/playwright-e2e/utils/log-utils.ts b/playwright-e2e/utils/log-utils.ts index 6648043a0a..25aa4699c2 100644 --- a/playwright-e2e/utils/log-utils.ts +++ b/playwright-e2e/utils/log-utils.ts @@ -28,3 +28,17 @@ export function logGenomeStudySampleKitReceived(shortId: string) { description: `Mark kit received for participant short_id: ${shortId}` }); } + +export function logError(err: string) { + test.info().annotations.push({ + type: 'ERROR', + description: err + }); +} + +export function logInfo(info: string) { + test.info().annotations.push({ + type: 'Info', + description: info + }); +} diff --git a/playwright-e2e/utils/test-utils.ts b/playwright-e2e/utils/test-utils.ts index 0aadf6d024..d1bf26e64b 100644 --- a/playwright-e2e/utils/test-utils.ts +++ b/playwright-e2e/utils/test-utils.ts @@ -1,35 +1,57 @@ -import {BrowserContext, Download, expect, Locator, Page, Response} from '@playwright/test'; +import {BrowserContext, Download, expect, Locator, Page, Response, Request} from '@playwright/test'; import { StudyEnum } from 'dsm/component/navigation/enums/selectStudyNav-enum'; import Input from 'dss/component/input'; import Checkbox from 'dss/component/checkbox'; import Select from 'dss/component/select'; import axios from 'axios'; +import { logError } from './log-utils'; -export interface WaitForResponse { +export interface WaitForRequest { uri: string; - status?: number; timeout?: number; } +export interface WaitForResponse extends WaitForRequest { + status?: number; +} const { SITE_PASSWORD } = process.env; export async function waitForNoSpinner(page: Page, opts: { timeout?: number } = {}): Promise { - const { timeout = 60 * 1000 } = opts; - const locator = page.locator('[data-icon="spinner"].fa-spin, mat-spinner[role="progressbar"]'); - await locator.first().waitFor({ state: 'hidden', timeout }); // if more than one spinners are found, only wait for first one to disappear. -} - -export async function waitForResponse(page: Page, {uri, status = 200, timeout = 30000}: WaitForResponse): Promise { - try { - return page.waitForResponse( - (response: Response) => response.url().includes(uri) && response.status() === status, - {timeout} - ) - } catch (error: any) { - throw new Error(`Timeout ${timeout}ms exceeded while waiting for ${uri} URI response with status - ${status}`) + const { timeout = 50 * 1000 } = opts; + const spinner = page.locator('[data-icon="spinner"].fa-spin, mat-spinner[role="progressbar"]').first(); + const appError = page.locator('app-error-snackbar .snackbar-content').first(); + await page.waitForLoadState().catch((err) => logError(err)); + const pageStatus = await Promise.race([ + spinner.waitFor({ state: 'hidden' }).then(() => 'Ready'), + appError.waitFor({ state: 'visible' }).then(() => 'Error'), + new Promise((_, reject) => setTimeout(() => reject(Error('Time out waiting for loading spinner to stop or a app error.')), timeout)), + ]); + if (pageStatus === 'Ready') { + // Check again for app error after spinner stopped + const visible = await appError.isVisible(); + if (visible) { + throw new Error(await appError.innerText()); + } + } + if (pageStatus === 'Error') { + throw new Error(await appError.innerText()); } } +export async function waitForResponse(page: Page, { uri, status = 200, timeout }: WaitForResponse): Promise { + const response = await page.waitForResponse((response: Response) => response.url().includes(uri), { timeout }); + await response.finished(); + const respStatus = response.status(); + if (respStatus === status) { + return response; + } + const url = response.url(); + const method = response.request().method().toUpperCase; + const unexpectedStatus = response.status(); + const body = await response.text(); + throw new Error(`Waiting for URI: ${uri} with status: ${status}.\n ${method} ${url}\n Response Status: ${unexpectedStatus}\n Text: ${body}`); +} + export async function waitUntilRemoved(locator: Locator): Promise { await expect(locator).toHaveCount(0); } @@ -66,16 +88,16 @@ export async function downloadConsentPdf(context: BrowserContext, locator: Locat */ export async function fillSitePassword(page: Page, password = SITE_PASSWORD): Promise { if (password == null) { - throw Error(`Invalid parameter: password is "${SITE_PASSWORD}"`); + throw Error(`Invalid parameter: password is null`); } await page.locator('input[type="password"]').waitFor({ state: 'visible', timeout: 30 * 1000 }); await page.locator('input[type="password"]').fill(password); - const passwordCheckRequestPromise = waitForResponse(page, { uri: '/irb-password-check' }); await Promise.all([ - passwordCheckRequestPromise, + waitForResponse(page, { uri: '/irb-password-check' }), page.keyboard.press('Enter') ]); + await expect(page.locator('app-root')).toBeAttached(); } /** @@ -182,7 +204,7 @@ export function assertParticipantListDownloadFileName(download: Download, study: name = study; } const expectedFileName = `${name}_export.zip`; - expect(actualFileName.toLowerCase()).toEqual(expectedFileName.toLowerCase()); + expect(actualFileName.toLowerCase()).toBe(expectedFileName.toLowerCase()); } export function studyShortName(study: StudyEnum): {shortName: string | null; realm: string | null} { @@ -226,3 +248,17 @@ export function studyShortName(study: StudyEnum): {shortName: string | null; rea } return {shortName, realm}; } + +export function shuffle(array: any[]): any[] { + for (let i = array.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [array[i], array[j]] = [array[j], array[i]]; + } + return array; +} + +export async function toHaveScreenshot(page: Page, locator: Locator | string, name: string): Promise { + // https://github.com/microsoft/playwright/issues/18827 + const loc = typeof locator === 'string' ? page.locator(locator) : locator; + await expect.soft(loc).toHaveScreenshot(name); +}