Skip to content

Commit

Permalink
feat: wip visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjansenrpm committed Aug 2, 2024
1 parent 7aa6fcc commit 23d13a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/App/App.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ const AvatarTest: React.FC = () => {
effects={{
ambientOcclusion: true
}}
>
{/* <StatsGl /> */}
</Avatar>
/>
</div>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions test/functional/cypress/e2e/visual.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ function compareSnapshot(zoomLevel: number, side: number) {
}`
);

// cy.intercept('GET', 'https://files.readyplayer.me/visage/environment/soft.hdr', { fixture: 'soft.hdr' });

cy.intercept(VISUAL_TEST_CONFIG.modelUrl).as('modelDownloading');
cy.wait('@modelDownloading');

// wait for the shadow under the avatar to build up with high wait time
cy.wait(20000);

const name = `avatar-zoom-${zoomLevel}-side-[${side}]`;
Expand Down

0 comments on commit 23d13a3

Please sign in to comment.