Skip to content

chore: adds initial e2e cypress tests#27266

Merged
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--creates-intiail-e2e-tests
Mar 21, 2023
Merged

chore: adds initial e2e cypress tests#27266
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/chore--creates-intiail-e2e-tests

Conversation

@bsunderhus
Copy link
Contributor

New Behavior

  1. Add cypress configuration to react-tree package
  2. Adds initial e2e tests to ensure Tre behaviours

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 20, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
67.365 kB
18.199 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.835 kB
57.287 kB
react-components
react-components: FluentProvider & webLightTheme
38.202 kB
12.13 kB
react-portal-compat
PortalCompatProvider
6.466 kB
2.179 kB
🤖 This report was generated against 62faffdfb607c7cf30f2c4f554cdc40c20808c13

@size-auditor
Copy link

size-auditor bot commented Mar 20, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 62faffdfb607c7cf30f2c4f554cdc40c20808c13 (build)

@bsunderhus bsunderhus force-pushed the react-tree/chore--creates-intiail-e2e-tests branch from 0bdb294 to 13f0892 Compare March 20, 2023 17:54
@fabricteam
Copy link
Collaborator

fabricteam commented Mar 20, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1044 1028 5000
Button mount 683 670 5000
Field mount 1930 1877 5000
FluentProvider mount 1370 1312 5000
FluentProviderWithTheme mount 354 380 10
FluentProviderWithTheme virtual-rerender 271 284 10
FluentProviderWithTheme virtual-rerender-with-unmount 338 350 10
InfoButton mount 245 239 5000
MakeStyles mount 1591 1549 50000
Persona mount 2628 2609 5000
SpinButton mount 2299 2311 5000

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 13f0892:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@bsunderhus bsunderhus mentioned this pull request Mar 20, 2023
22 tasks
@bsunderhus bsunderhus marked this pull request as ready for review March 20, 2023 18:36
@bsunderhus bsunderhus requested review from a team as code owners March 20, 2023 18:36
@bsunderhus bsunderhus merged commit d7016bf into microsoft:master Mar 21, 2023
@bsunderhus bsunderhus deleted the react-tree/chore--creates-intiail-e2e-tests branch March 21, 2023 14:21
import { mount as mountBase } from '@cypress/react';
import { FluentProvider } from '@fluentui/react-provider';
import { teamsLightTheme } from '@fluentui/react-theme';
import {
Copy link
Contributor

Choose a reason for hiding this comment

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

note: this creates circular dependencies. component-tests approach is the same as for unit-test(jest) test -> import package contents via relative path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants