Граф коммитов

145 Коммитов

Автор SHA1 Сообщение Дата
Patrick Boyd 3ae78fea89
use latest MacOS image available for Android PR (#3704) 2024-08-09 10:31:15 -07:00
Saad Najmi af9059cf80
fix(ci): Refactor Apple jobs (#3631)
* Copy stuff from RNM and refactor

* Disable ccache

* gitignore ccache

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2024-05-22 14:30:06 -07:00
Saad Najmi 4058154c0e
Increase iOS PR timeout (again) (#3581) 2024-04-18 18:22:33 +00:00
Saad Najmi 08e0669dd9
[CI] Update iOS PR image (#3565)
Should help with the frequent timeouts...
2024-04-12 21:38:48 +00:00
Andrew Coates f942dd2790
Update tester_deps lock file (#3560) 2024-04-12 06:56:37 +00:00
Andrew Coates 6164473627
Update to RN 0.73 (#3543)
* Update to RN 0.73

* Change files

* RN 73 requires node 18

* Add 72 profile

* Update wdio/appium etc to get it running on node 18

* fix

* fix

* Update podfile locks

* fix

* fix

* fix

* see if building fixes resolution of focus-zone by e2e tests

* Try specifying reports dir with full path

* Try debug level reporting to identify error creating logs

* try enabling more logs

* alternate way to specify logfile.

* downgrade @wdio/appium-service to move before https://github.com/webdriverio/webdriverio/pull/12095

* Test no-packager

* yarn init-test-app  (With cleanup)

* Try install Java18

* fix

* fix

* Android E2E fixes

* fix?

* fix

* fix

* Add more logging for E2E android test failure

* more logs

* more log

* Use actual scroll region, to avoid OS swipe gestures

* Increase android time out to navigate to page

* fix

* remove extra try/catch and logging

* Fix windows build

* test windows PR without node install

---------

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2024-04-11 10:32:42 -07:00
Saad Najmi 4c95aae435
[CI] Update to Xcode 15.2 (#3376) 2024-04-03 21:34:07 +00:00
Saad Najmi 92b302d38d
[Apple] Delete Nuget (#3464) 2024-03-01 15:52:49 -08:00
Adam Gleitman c79572a157
Add workaround for CocoaPods 1.15.0 issues (#3427)
* Add workaround for Cocoapods 1.15.0 issues

* Actually call the "install CocoaPods 1.15.2" job

* Limit CocoaPods installation to Apple platforms

---------

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2024-02-15 10:56:34 -08:00
Ruriko Araki 2fb1786535
Add cred scan suppressions for issues from upstream libraries (#3386) 2024-01-29 11:34:48 -08:00
Ruriko Araki ab2c3e927f
Dedupe (#3375) 2024-01-23 00:17:13 +00:00
Samuel Freiberg 6751b01977
Update NuGet Package Name (#3260)
* Adding resolutions to specific packages with security vulnerabilities

* Remove

* Adding whitespace

* Revert

* Removing unused file

* Update nuget package

* Changing name of nuget package

* Updating file names

* Updating nuget publish pipeline
2023-11-27 12:34:02 -07:00
Danny van Velzen ce70030b70
Mark tests to satisfy compliance (#3193) 2023-10-28 23:04:14 +00:00
Danny van Velzen 1a236a7a49
Make FURN compliant by migrating to 1ESPT pipelines (#3192)
* Make FURN complaint by migrating to 1ESPT pipelines

* Change files
2023-10-27 21:50:31 +00:00
Saad Najmi 47ddf824d4
[CI] Fix publish pipeline (#3171)
* Update apple-nuget-publish.yml

* Update apple-nuget-publish.yml

* Move publish variables to groups

* try

* Just use the bash script step

* Redo variables again

* and again

* more

* fix change

* Remove the quotes?

* oh...
2023-10-23 15:40:46 -07:00
Saad Najmi a55dd40020
[CI] Refactor Apple CI (#3118)
* [CI] Update to macOS 13 / Xcode 15

* Dont pre boot simulator

* yarn dedupe

* (test) Determine iOS SDK version

* Degrade to iOS 16.4

* Test

* no boot

* macos too

* Back to iOS 17.0

* Update to react-native 0.71.14

* Downgrade to Xcode 14.2

* Undo yarn lock and package json changes

* more downgrade

* Switch back to internal

* more slight changes

* No android update.. again
2023-10-20 06:37:11 +00:00
Samuel Freiberg 8e3fd53940
Upgrade Appium to v2 and Fix Local E2E Testing (#3072)
* Adding resolutions to specific packages with security vulnerabilities

* Remove

* Adding whitespace

* Revert

* Removing unused file

* Updating appium deps in /E2E

* Removing E2E testing assets from apps/win32. Will host in apps/e2e

* Moving wdio.win32 to apps/E2E

* No hoisting packages in apps/E2E so we can run Appium locally without extra setup

* Fixing pipeline to run win32 e2e tests

* Updating tester_deps packages

* Add extra wait command before returning element

* Change files

* Reverting change

* Locking down package

* Update package.json

* Updating yarn.lock

* Update package.json
2023-09-06 14:42:48 -07:00
Ruriko Araki 0c83131901
More publish fix (#3017)
* Fix publish by passing in token

* Attempt 2

* Fixes take 2
2023-08-09 14:26:44 -07:00
Ruriko Araki ab07f50757
Fix publish by passing in token (#3010) 2023-08-09 09:10:10 -07:00
Ruriko Araki 144e13724c
Update to Yarn3 (#2980)
* Initial yarn 3 commit

* Fix use yarn please

* Result of yarn

* Build fixes

* Some more fixes

* Cleanup

* Change files

* Fix yarn check

* Port disabling PnP patching

* Update tests

* Port podfile.lock change

* Change files

* Reapply some package updates

* Fix for win32?

* Change files

* Convert tester deps?

* Edit workspaces property in package.json

* Update RNTA

* Update setup
2023-08-08 11:50:38 -07:00
Ruriko Araki e2deb799cc
Remove disallowed downloads (#2996) 2023-08-04 17:29:51 -07:00
Andrew Coates d6b4668766
Fix logic for non-main publish (#2926)
* Fix logic for non-main publish

* fix?

* fix2

* fix3
2023-07-10 10:29:26 -07:00
Ayush Singh 42ab24bf4f
[E2E Tests] Clean up uninstall task / Chip & Input - Android (#2917)
* Use base page compareAttribute in input page

* Add waiters & verifyTextContent fn in chip page

* Remove extra uninstall task

* Change files

* Update compareAttribute error msg on Android
2023-07-07 21:30:07 +05:30
Andrew Coates e20ba3b95a
Add logic to support publishing hotfixes from releases/* branches (#2918) 2023-07-06 16:34:47 -07:00
Saad Najmi 8c0f9d27e3
Update to React Native 0.71 (#2754)
* align-deps: Fix warnigns and issues

* Upgrade react-native-test-app

* Update align-deps to 0.71

* Fix JS build issues

* Try build apple

* Change files

* babel runtime classic

* resolve react-native-svg to 13.9.0

* Fix more bundling errors

* Change files

* tests

* update package versions

* Get jest tests working

* Change files

* Bump rnwin32 version and clean up imports

* fix issue which caused a ts-ignore to inserted

* Try using a specific image for windows PR

* Updated yml

* try OE-OfficePublic

* update pool

* another pipeline fix

* Update adapters

* Fix UWP tester app

* Fix android PR

* bump RNW version, and use AutomationProperties.AutomationId for mapping from AccessibilityLabel

* Revert back to name - and bump rn-macos

* bump RNW

* bump @office-iss/rex-win32 version

* Try a accessibilty fix for RNW...

* undo previous UWP fix attempt

* Update react-native-windows

* fix

* Change files

* align-deps on drawer

* Move new components to classic runtime

* Test

* Update iOS wdio config

* Revert change that broke windows e2e tests

* Use iOS 16.2

* Match iPhone simulators

* Fix ActivityIndicator

* Disable Drawer test

* Specify simulator in CI

* Fix yml

* Update snapshot

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: Andrew Coates <acoates@microsoft.com>
2023-06-05 11:49:06 -07:00
Adam Gleitman 4a77e91add
Use Xcode 14.2 in ADO pipelines (#2811)
* Bump @react-native-community/slider from 4.4.0 to 4.4.2

Bumps [@react-native-community/slider](https://github.com/callstack/react-native-slider) from 4.4.0 to 4.4.2.
- [Release notes](https://github.com/callstack/react-native-slider/releases)
- [Commits](https://github.com/callstack/react-native-slider/compare/v4.4.0...v4.4.2)

---
updated-dependencies:
- dependency-name: "@react-native-community/slider"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use Xcode 14.2 in ADO pipelines

* Fix simuator runtime

* 16.0 runtime is invalid, but apparently 16.2 is ok

* Try 16.2 for appium

* Change files

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2023-05-03 15:38:58 -07:00
Ayush Singh fce2247d36
Add bundling in win32 publish (#2812) 2023-05-02 17:51:47 +05:30
Saad Najmi a2bea87066
Don't bundle in JS PR (#2792)
* Don't bundle in JS PR

* Update azure-pipelines.yml comment
2023-04-22 23:18:40 -05:00
Krystal Kramer e840c82b62
Update appium and node version (#2745)
* Update appium and node version (#2620)

* Update appium beta version to version that doesn't use jsdoc

* Update tester_deps yarn.lock

* Change files

* Update a bunch of things in an attempt to get things working again...

* Update node?

* diagnose what's up with CI

* Introduce .node-version file

* remove midgard-yarn

* Frozel lockfile

* undo yarn please change

* Appium driver install added back

* Appium driver install added back

* Appium driver install added back

* Remove flakiness

---------

Co-authored-by: Saad Najmi <saadnajmi2@gmail.com>

* Add test steps to JS PR

* fix dry-run script

* temporarily remove buildci step

* try node 14.x

* build button package first

* add build step back

* back to node 16

* change npm install version to 9.5.0

* just scope build to button

* Add empty .npmignore file

* remove extra npm install and dry-run steps

* revert azure-pipelines script changes

---------

Co-authored-by: Ruriko Araki <ruaraki@microsoft.com>
Co-authored-by: Saad Najmi <saadnajmi2@gmail.com>
2023-04-06 18:50:11 -04:00
Krystal Kramer f21c6d0491
Revert "Update appium and node version" (#2718)
* Revert "Update appium and node version (#2620)"

This reverts commit 4b07fa13ee.

* Change files
2023-03-21 13:09:08 -04:00
Ruriko Araki 4b07fa13ee
Update appium and node version (#2620)
* Update appium beta version to version that doesn't use jsdoc

* Update tester_deps yarn.lock

* Change files

* Update a bunch of things in an attempt to get things working again...

* Update node?

* diagnose what's up with CI

* Introduce .node-version file

* remove midgard-yarn

* Frozel lockfile

* undo yarn please change

* Appium driver install added back

* Appium driver install added back

* Appium driver install added back

* Remove flakiness

---------

Co-authored-by: Saad Najmi <saadnajmi2@gmail.com>
2023-03-17 11:01:39 -07:00
Ayush Singh 124829284f
[E2E Tests] Expand Android tests (#2511)
* Added E2 test section scroll

* Change button android tests to V1

* Expand button android tests

* Clean BasePage

* Fix CheckboxV1 tests

* Remove extra fns added while merging

* Android functional tests added

* Test on big screen

* Optimise imports

* Replace toBeTrue with toBeTruthy

* Remove extra sections for button test on Android

* Resolve comments
2023-01-20 09:42:44 +05:30
Ayush Singh f077f84f8f
E2E Tests setup for Android (#2399)
* Basic E2E setup for android

* Basic tests working

* Added scrolling element selector to Android

* Cleanup code

* Change files

* Replace ScrollView id with existing const

* Clean up mobile scroll

* Testing Android pipeline

* Fix platform

* Fix spacing

* Changing Gradlew task

* Comment non-android tests

* Changed vm to ubuntu added working directory to gradlew

* Update emulator to use xamarin

* Updated fradlew task

* Revert ubuntu change for Android PR

* Revert "Update emulator to use xamarin"

This reverts commit 6bea0a8ed6.

* Change jdk path

* Update version for jdk

* Disable yarn android

* Revert "Disable yarn android"

This reverts commit 1dc6bad9dc.

* Set to re-install apk mode

* Remove existing packages

* Remove yarn android, add caching for avd

* Added apk dump mechanism

* Fix syntax

* Fix syntax

* Fix syntax

* Update apk dump to run on failure

* Testing screenshot on android

* Update emulator script

* Fix missing label for E2E

* Reverting APK dump mechanism

* Attempting to fix screenshot issue

* Attempting to fix screenshot issue x2

* Attempting to fix screenshot issue x3

* Attempting to fix screenshot issue x4

* Revert "Attempting to fix screenshot issue x4"

This reverts commit f6ed8fd035.

* Change to MacOS 12

* Revert "Change to MacOS 12"

This reverts commit 7cdaacdeba.

* Attempting to fix screenshot issue x5

* Revert "Comment non-android tests"

This reverts commit d4faed2d29.

* Revert "Testing screenshot on android"

This reverts commit 88cde98d61.

* Added apk dump on failure

* Code cleanup

* Test Screenshot

* Change emulator device model and Remove apk dump

* Revert "Test Screenshot"

This reverts commit 3deb82308f.

* Replace testId with testProps

* Attempt AVD Caching

* Fix task blocks

* Fix import

* Revert AVD Caching

* Revert "Revert AVD Caching"

This reverts commit f31ac5ab08.

* Try different path

* Path format fix

* Change path to single folder

* Enable quick boot emulator

* Revert "Enable quick boot emulator"

This reverts commit e50cfa9f0f.

* Removing caching

* Code cleanup

* Resolve comments

* Resolve comments

* Remove extra bundle command from E2E
2023-01-02 23:09:50 +05:30
Samuel Freiberg 4208989552
Exporting E2E Data as NuGet Package (#2459)
* Changing location of E2E constants from /apps/fluent-tester to /apps/E2E. This consolidates data specific to E2E testing

* Creating new NuGet package containing all E2E testing data, while removing unnecessary bundles

* Reverting WDIO config file specs path

* Change files

* Fixing prettier

* Removing bundle verb from E2E (not needed anymore)

* Renaming index.win32 to index.consts to better represent file

* Removing old NuGet package and creating new one that contains E2E directory

* Modifying .ado nuget publish pipeline to include new package

* Resolve conflict with FocusZone version

* Removing unwanted change in tsconfig

* Adding back rnx-kit without bundle potion
2022-12-27 13:24:04 -07:00
Krystal Kramer 4f66c5ae43
Add README for @fluentui-react-native/dependency-profiles (#2422)
* Save initial draft

* Edit comment

* Add additional info

* additional updates

* Change files

* Add npm badge link to ignorePatterns
2022-12-16 12:27:30 -05:00
Samuel Freiberg 567c97f18c
Adding buildci script to pipeline. This Pipeline exports two bundles as NuGet packages. Rather than creating one-off 'yarn bundle' scripts for each bundle, add one buildci script (#2412) 2022-12-12 10:08:46 -07:00
Samuel Freiberg 93f6bb2930
Changing the destination folder of Nuget package content (#2410)
* Changing the destination folder of depedencies. There are some node search patterns when using .require() that depend on node_modules. It should have been from the start, I'm fixing it now

* Moving win32 specs nuget publish to the job that bundles
2022-12-09 22:24:07 -07:00
Samuel Freiberg 9c86aae457
Creating NuGet package for win32 js bundle specs (#2407)
* Creating NuGet package for win32 js bundle specs

* Adding nuget publish to pipeline

* Clarifies description of NuGet package

* Fixing package path in .ado pipeline

* Change files
2022-12-09 13:30:35 -07:00
Lawrence Win d64b7100cf
Bump react-native-svg: 12.3.0 -> 12.5.0 (#2252)
* Bump react-native-svg: 12.3.0 -> 12.x

* Change files

* 12.x -> 12.4.4 in package.json

* Add Graphics.Win2D as a dependency

* Revert "Add Graphics.Win2D as a dependency"

This reverts commit 7f3899bd93458d90f1236cc0724b4955bf67d802.

* Win2D.UWP added as a dependency

* Update yarn.lock

* Bump experimental icon rnsvg

* Bumping rnsvg to 12.5

* Add script to add win2d as a ReactTestApp dependency

* Add win2d script to uwp ado pipeline

* Update script to add Win2D.uwp dependency

* Commit for pipeline testing

* Remove disk size checks, keep fetchDepth in ado

* Change files

* Run windows Pr validation step on larger VM

* Add + use patch-package for Win2D.uwp dependency

Patching react-native-test-app is now more stable than the previous
commit.

* Revert accidental change to a change file

Co-authored-by: Larry Win <winlarry@microsoft.com>
Co-authored-by: Danny van Velzen <dannyvv@microsoft.com>
2022-12-05 19:36:45 -06:00
Ruriko Araki 8e94deaeff
Have CG ignore rn_template_files (#2386) 2022-12-05 15:57:20 -08:00
Samuel Freiberg ed6ad65f29
Add E2E Win32 Spec Bundle to NPM Package (#2369)
* Adding bundle to NPM package:

* Adding task in publish pipeline to bundle E2E specs

* Fixing file paths

* Change files

* Running yarn buildci in publish pipeline
2022-11-30 14:27:50 -07:00
Samuel Freiberg 0d37c13db9
[Win32] Create JS Bundle for E2E Spec Files and Publish as NPM Package (#2345)
* Adding package that includes all FURN automated testing dependencies

* Adding nuget publish for tester deps

* Temporarily post nuget package for testing

* Temporarily post nuget package for testing

* Removing param

* Making param false

* Reverting .ado changes and adding fields in package.json

* Testing nuget push

* Adding yarn.lock

* Revert "Adding yarn.lock"

This reverts commit 0948725dcf.

* Testing CI

* Testing CI

* Testing nuget publish

* removing publish temporarily

* Removing unwanted dep

* Updating deps

* Adding nuget publish job to ado

* Removing unwanted changes

* Removing unwanted changes

* Removing unwanted changes

* Integrating Webpack to create a JS bundle containing all win32 spec files

* Creating bundle in publish pipeline so it's included in the npm package

* Removing unwanted changes

* Reverting unwanted changes

* Reverting

* Reverting testing change

* Reverting newline

* Change files

* Reverting unnecessary .ado change

* Reverting whitespace

* Adding build script to /E2E

* Moving E2E testing files to its own package within /apps. This allows us to export as an NPM package easier (and allows us to consume the testing code outside of this repo)

* Updating pipeline refs to apps/E2E

* Adding support for metro within apps/E2E

* Fixing imports

* Change files

* Fixing Win32 wdio.conf.ts specs path

* Fix imports

* Adding missing dev dep

* Updating yarn.lock

* Re-creating yarn.lock

* Updating yarn conflicts

* Fixing links

* Adding missing dep

* Updating path to no hoisted packages

* Fixing package path

* Adding condition in BasePage
2022-11-28 20:36:02 -07:00
lyzhan7 14465a3978
Update token documentation: shadow, corner radius, stroke width, size (#2344)
* Update global token documentation: make it not specific to color, add examples

* Remove font documentation

* Attempt to fix repo links - add ignore pattern for fluentui-design-tokens repo

* No additions, just rearranging documentation

Moved the different types of tokens to a new section, rearranged them in alphabetical order

* Add shadow documentation + some minor edits

* Respond to comments
2022-11-21 12:32:49 -08:00
Danny van Velzen 7b58b078ad
Mark test in publish pipeline for compliance analysis (#2335) 2022-11-21 11:01:30 -08:00
Samuel Freiberg 991752ea9b
Updating name of pipeline job (#2348) 2022-11-18 17:56:40 -07:00
Samuel Freiberg d0630d567a
Export Appium/WebdriverIO Dependencies as NuGet Package (#2343)
* Adding package that includes all FURN automated testing dependencies

* Adding nuget publish for tester deps

* Temporarily post nuget package for testing

* Temporarily post nuget package for testing

* Removing param

* Making param false

* Reverting .ado changes and adding fields in package.json

* Testing nuget push

* Adding yarn.lock

* Revert "Adding yarn.lock"

This reverts commit 0948725dcf.

* Testing CI

* Testing CI

* Testing nuget publish

* removing publish temporarily

* Removing unwanted dep

* Updating deps

* Adding nuget publish job to ado

* Removing unwanted changes

* Removing unwanted changes

* Removing unwanted changes

* Update tester_deps/nuget/Microsoft.FluentUI.WebDriverIO.Appium.Deps.nuspec

Co-authored-by: Danny van Velzen <dannyvv@microsoft.com>

Co-authored-by: Danny van Velzen <dannyvv@microsoft.com>
2022-11-18 10:01:17 -07:00
Adam Gleitman d26ca33536
Use Xcode 14.0.1 in ADO (#2275)
* Use Xcode 14.0.1 in ADO

* Use iOS 16.0 simulator

* Another bump to iOS 16 (pls work now)

* Change files

* Do Appium stuff on iPhone 13 simulator

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-10-26 14:41:12 -07:00
Saad Najmi 860fa561d4
FocusZone (macOS): Calculate distance from origin (#2259)
* FocusZone (macOS): Calculate distance from origin

* Change files

* Fix test repo links

* fix repo links
2022-10-20 10:18:57 -07:00
Samuel Freiberg 690c4978c5
Changing Location of Appium Driver Dependency Installs (#2115)
* Making it so the appium driver packages get installed in each folder rather than the root. Appium looks for these drivers in the folder it's in, not the root. This was causing issues when trying to run E2E tests locally.

* Change files
2022-09-13 10:06:59 -07:00
Samuel Freiberg 6ab3e95df9
iOS E2E Testing + Improving E2E Code-Reuse (#2097)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Moving all test assets to the same folder in /Common/

* Revert "Moving all test assets to the same folder in /Common/"

This reverts commit cb3ab14325.

* Adding initial ios testing

* Merging to upstream main

* Reverting back to upstream/main

* ios working

* Removed MacOS BasePage because we can use the same selector as Win32. No need for it anymore. All macOS tests running correctly

* Removing platform-specific NavigateAppPage. Now that the selectors are the same, we don't need separate ones

* Trimming down all component's PageObject to just ONE file. No need for platform-specific page objects anymore, since they all pull from the same selectors

* iOS and macOS both fully working

* Adding iOS to CI Pipeline

* Change files

* Reverting previous mistakes

* Reverting unwanted change

* Removing unwanted change

* Reverting podfile.lock

* Reverting podfile changes

* Adding additional comments

* Fix prettier

* Increasing iOS retry timeout. App takes longer to load because of emulator

* Increasing app connection timeout across the board

* Change files

* Improve display name's in .ado pipeline

* Improving ADO E2E logic to remove duplicate steps

* Fixing parameter in .ado

Co-authored-by: dev <dev@oe-mac-C07-C60ES-JYVY-checkout.selfhost.corp.microsoft.com>
2022-09-08 15:15:35 -07:00