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

146 Коммитов

Автор SHA1 Сообщение Дата
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
Samuel Freiberg 202705df4f
Transforming E2E Framework from Sync to Async and Updating WebDriverIO to V7 (#2083)
* 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.

* Win32 Tests Working

* Disabling macos and windows tests temporarily

* Change files

* Fix prettier

* Increase Jasmine default timeout

* Re-enabling macOS and Windows E2E tests in the CI

* Add more logging for E2E Tests

* Changing degree of logging for testing purposes in macos testing

* Reverting WDIO config files and improving code structure

* Re-adding mascos basepage

* Re-adding macOS Tests

* Reverting mistake change in Button/Checkbox

* Transforming WDIO hooks to async

* Reverting previous WDIO config file changes that were for testing

* Re-adding menu tests

* Adding back NativeTester tests
2022-09-06 11:18:42 -07:00
lyzhan7 b93e494dc0
Undo strip debug symbols (#2032) 2022-08-25 14:52:41 -07:00
Harrie Shin f54ccdf6be
couple more fixing to find folder path to strip debug symbols (#1971)
* make sure iOS folder path is Debug-iphoneos and then also add wildcard for folder path to find the .a libraries to strip

* i forgot that for furn we only ship "release" flavor in nuget. so we should review debug if cehck
2022-08-08 13:06:33 -07:00
Harrie Shin b77d041fc8
realign tab (#1965) 2022-08-05 16:05:38 -07:00
Harrie Shin 162454407c
add additional script in ado build to strip symbols. (#1962)
I think cocoapod is not striping out even in release config.
2022-08-05 12:42:22 -07:00
Samuel Freiberg 05c06b5106
Testing MacOS CI (#1906)
* 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.

* Testing

* Updating yarn.lock

* Moving app maximize

* Testing

* Taking screenshots of every test

* Maximize app in spec instead of wdio

* The name of the FluentTester window changed with a new PR, so I'm updating the selector (this was causing an error)

* Adding back all the specs for testing

* Testing maximize app in the beforeSuite() hook so it gets called before every spec file

* Adding all macos specs to test

* Adding to readme about how to run MacOS e2e tests

* Revert previous .ado changes. Also improve publish artifacts logic because now Win32 reports/screenshots are in a different place than other platforms

* Fixing commenting error in .ado

* Fixing quotation error in .ado

* Adding '' to .ado file

* Change files

* Changing name of macOS job

* Trying to fix ado pipeline

* yarn prettier-fix

* PR Changes

* Nit: Spacing

* Nit: Grammer

* Nit: Comments

* Reverting previous testing change

* Reverting podfile.lock

* Improving comments and attempting to make a change to the CI: Start the RN Server in background bash

* Reverting ADO change that didn't work

* Reverting unwanted change

* Removing `yarn macos`

Want to see if the e2e tests can run without the server
2022-07-28 15:30:15 -07:00
Saad Najmi 0772c56749
Combine platform specific test apps (except win32) (#1535)
* update fluent-tester

* delete others

* move FluentTester src

* yarn build works

* rnx-bundle works

* autolinking bug workaround + android

* windows works

* Update Apple CI

* More CI updates

* Update more CI

* update

* more updates

* More updates

* Change files

* maybe fix android

* fix ci?

* fix ci?

* ci

* setup emulator

* Remove expander

* More fixes

* The final countdown

* more fixes

* fix more links

* derp

* Change files

* Rearrange jobs and more fixes

* JS PR back to top

* remove flag that doesn't work

* Update android bundle name, enable single app mode

* forgot some

* Remove extra space

* update lock

* Update CI

* Remove Drawer from Fluent tester for now

* remove drawer again

* Change files

* Fix metro configs

* rerun `yarn configure-test-app` and add back some more metro config changes

* no expander

* update react dep + fix pipeline maybe

* delete duplicate job

* update yarn lock

* add back rnta

* Change files

* Move new tests

* Fix bundle

* update links + Podfile + delete podfile locks temporarily

* remove drawer again, add back locks

* Update apps/fluent-tester/package.json

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* Update apps/win32/package.json

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* Update apps/fluent-tester/metro.config.js

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* updates

* back to windows-2019

* merge

* remove --use-nuget

* Update .ado/azure-pipelines.yml

* Add back auto-lauch packager to ios/macos

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-07-25 14:08:05 -07:00
Harrie Shin ebd86288fc
what could go wrong when you try to rename "master" branch to "main (#1892) 2022-07-22 12:07:45 -07:00
Harrie Shin 36ff1e04d5
support x86_64 and arm64 build in iphonesimulator nuget package (#1887)
* check to see if we explicitly set our architecture nuget will publish both x86_64 and arm64 arch binaries and make sure RNCore ruby file isn't excluding any archs.
* while i am here, update xcode to 13.4
* ios simulator boot may fail when xcode is 13.4. try using 15.5 iOS version.
2022-07-21 20:51:49 -07:00
Saad Najmi 86bd41cb44
Publish overrides for simulator (#1874) 2022-07-19 11:31:50 -07:00
Harrie Shin bbdbf765ae
update our pipeline to use xcode 13.3.1 (#1621)
* update our pipeline to use xcode 13.3.1
* see if i can fix pre boot task by updating to iOS15.4
2022-04-28 17:48:27 -07:00
dependabot[bot] d87a96dc8e
Bump appium from 2.0.0-beta.27 to 2.0.0-beta.30 (#1586)
* Bump appium from 2.0.0-beta.27 to 2.0.0-beta.30

Bumps [appium](https://github.com/appium/appium) from 2.0.0-beta.27 to 2.0.0-beta.30.
- [Release notes](https://github.com/appium/appium/releases)
- [Changelog](https://github.com/appium/appium/blob/master/CHANGELOG.md)
- [Commits](https://github.com/appium/appium/compare/appium@2.0.0-beta.27...appium@2.0.0-beta.30)

---
updated-dependencies:
- dependency-name: appium
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Edit script to pull latest driver

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ruriko Araki <ruaraki@microsoft.com>
2022-04-12 12:47:43 -07:00
Ruriko Araki 9cea8a5ed6
Put check change and prettier earlier in the job (#1583) 2022-04-11 19:00:09 -07:00
Ruriko Araki 1e8f6072f5
Update Appium to 2.0.0 (#1544)
* Upgrade appium

* Change files

* Some editing of configs and pipeline

* Redo appium bump

* Fix build issue

* UWP updates

* Declare appium-windows-driver a devDependency

* Undo accidental change

* Update documentation

* Update instructions

* Address feedback
2022-03-31 14:28:58 -07:00
Ruriko Araki 0bbf3a115e
Ignore 429 error from markdown-link-check (#1534)
* Change links to point not using urls

* Ignore 429 status codes

* Change files

* Try adding a comment
2022-03-23 11:15:44 -07:00
dannyvv 73323d341b
Migrate release pipeline to office/iss to be compliant (#1481)
* Migrate release pipeline to office/iss to be compliant

* Use public pools for PR
2022-02-28 13:51:57 -08:00
Saad Najmi b77d39e0cc
Update react-native-test-app to pick up latest security fixes (#1478)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [ ] win32 (Office)
- [x] windows
- [x] android

### Description of changes

(Apple only) RNTA version 1.1.4 updates it's xcconfigs so that the Address Sanitizer (ASAN) and Udefined Behavior Sanitizer (UBSAN) are OFF for release builds. We need this for downstream consumption. By updating our dependency, we can also remove one of our xcconfig flags where we hardcoded ASAN as off for release.

### Verification

CI 

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2022-02-28 17:58:47 +00:00
Saad Najmi 46298b5fcc
Update publish_overrides.xcconfig (#1460) 2022-02-21 09:35:15 -08:00
Harrie Shin 43acf1b0fa
add clang static analysis for furn apple build (#1456) 2022-02-18 09:23:56 -08:00
Saad Najmi 4d8e48b86b
Update react-native-test-app to pick up ASAN changes (#1441)
* Update RNTA dependency

* update lock

* Attempt to fix android

* Use Gradle 7.4

* Use JDK 11

* More 7.4

* Don't build experimental drawer for now

* merge

* update picker, add gradle fix

* update

* Remove drawer change

* Change files

* Use RNTA 1.1.1 + init-test-app
2022-02-16 15:12:10 -08:00
dannyvv b370605c80
Add SBom Manifest (#1422)
### Description of changes

Add SBom manifest 

### Verification

N/A: Will have to wait for release pipeline to run
2022-02-10 21:29:38 +00:00
Samuel Freiberg ce9cae587b
Publish Win32 FluentTester NuGet Package to Internal Office Feed (#1376)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Added win32 nuget file - copied from macos, not working

* Attempting to publish Win32 FluentTester bundle to the react-native office feed for internal use so I can then pull the bundle into Devmain

* Change files

* Change name of Win32 Nuget Publish

* Adding publish to PR to test it

* Building repo

* Trying different NuGet command

* Only testing my NuGet push

* Assing assets to NuGet package

* Doing a full build in the CI

* Changing version number to build number

* Attempting to change the Version number to a cleaner number

* Changing publish path

* Trying new version number

* Fixing incorrect path for NuGet push

* Trying new approach

* Testing pipeline with directory

* Changing packagesToPublish path

* Push

* Revert

* Removing previous testing-only code

* Remove extra whitespace

* Adding <repository metadata to the .nuspec and ommitId property to the command-line to pack the NuGet
2022-01-26 11:04:13 -07:00
Ruriko Araki 446757f860
Add prettier check to pipeline (#1334)
* Rerun prettier

* Change files

* Add prettier check to pipeline
2022-01-12 11:14:01 -08:00
Samuel Freiberg a9d419694a
CI Should Break on E2E Test Failure (#1269)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Make CI break on E2E failure

* Specifying Experimental Button Test

* Change files
2021-12-17 17:27:52 -07:00
Samuel Freiberg f293bf1103
Adding MacOS E2E Testing (#1233)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Tests are running and succeeding, but the import still isn't working. I need to figure out how to import Platform from RN to choose the selector in BasePage

* Can't get WDIO to compile TS

* Updating WDIO to 6.5.0

* Updating Babel to 6.5.0 and integrating babel config. This should work, but it doesn't

* Making mac specific files

* Adding macos specific testing specs+page objects

* Fixing FocusZone spec for MacOS

* Reverting babel files back to original. The change did not work as I expected.

* Removing babel dependencies, not needed anymore

* Updating babel

* Nit changes

* Nit comments and removing unnecessary properties

* Nit comment

* Updating file name+import

* Nit changes to WebDriver macos config

* Adding MacOS E2E testing to CI pipeline

* Change files

* Updating file extensions of Windows specific files

* Removing Mac2 driver dependency from Win32/Windows package

* Removing unneeded package-locl files

* Fixing Appium logs

* Removing unnecessary dep from webdriver config

* Removing dep

* Removing dep

* Publishing MacOS build artifacts for CI

* testing ci

* Removing unnecessary step in CI Pipeline

* Updating Mac webdriver config file to take screenshots when test fails

* Testing CI

* Nit fix

* Reverting previous change

* Macos doesn't have browser.maximize funtionality

* Adding create a file functionality for reports

* Testing CI Pipeline - Seeing what directories are in /macos/ after E2E Test runs

* List contents of errorShots

* Reading contents of CI

* Testing CI

* Testing CI

* Finding applications folder

* Tesing CI for correct path

* Testing

* Test

* Testing CI

* Download tccutil command line tool

* Adding xcode to accessibility app permissions

* Updating download

* Attempting to disable SIP

* Removing unnecessary commands from CI

* Removing CI changes

* Nit styling

* Updating MacOS E2E Testubg documentation - How to run the tests locally

* Updating yarn.lock

* Nit: Spelling
2021-12-16 16:11:01 -07:00
dannyvv 6a9f067ae2
Add parameters to publish to skip npm and/or git push (#1260) 2021-12-16 10:49:01 -08:00
dependabot[bot] ec98b7992e
Bump markdown-link-check from 3.8.7 to 3.9.0 (#1187)
Bumps [markdown-link-check](https://github.com/tcort/markdown-link-check) from 3.8.7 to 3.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tcort/markdown-link-check/releases">markdown-link-check's releases</a>.</em></p>
<blockquote>
<h2>Version 3.9.0</h2>
<p>Changes:</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/149">#149</a> add -V, --version command line flags (<a href="https://github.com/tcort"><code>@​tcort</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/164">#164</a> indent console output (<a href="https://github.com/brandones"><code>@​brandones</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/170">#170</a> pre-commit support (<a href="https://github.com/janosh"><code>@​janosh</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/173">#173</a> update docs (<a href="https://github.com/karl-johan-grahn"><code>@​karl-johan-grahn</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/174">#174</a> Symlink executable into PATH (<a href="https://github.com/carlsmedstad"><code>@​carlsmedstad</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/177">#177</a> upgrade command line tool from request to needle (<a href="https://github.com/tcort"><code>@​tcort</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tcort/markdown-link-check/blob/master/CHANGELOG.md">markdown-link-check's changelog</a>.</em></p>
<blockquote>
<h2>Version 3.9.0</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/149">#149</a> add -V, --version command line flags (<a href="https://github.com/tcort"><code>@​tcort</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/164">#164</a> indent console output (<a href="https://github.com/brandones"><code>@​brandones</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/170">#170</a> pre-commit support (<a href="https://github.com/janosh"><code>@​janosh</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/173">#173</a> update docs (<a href="https://github.com/karl-johan-grahn"><code>@​karl-johan-grahn</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/174">#174</a> Symlink executable into PATH (<a href="https://github.com/carlsmedstad"><code>@​carlsmedstad</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/177">#177</a> upgrade command line tool from request to needle (<a href="https://github.com/tcort"><code>@​tcort</code></a>)</li>
</ul>
<h2>Version 3.8.8</h2>
<ul>
<li>Update docs with respect to recursive scan</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b13b6c253a"><code>b13b6c2</code></a> 3.9.0</li>
<li><a href="f5b5a7cb91"><code>f5b5a7c</code></a> docs(CHANGELOG): prepare for 3.9.0 release</li>
<li><a href="610979de34"><code>610979d</code></a> refactor(markdown-link-check): request --&gt; needle</li>
<li><a href="bcf1f6a4ef"><code>bcf1f6a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/164">#164</a> from brandones/indent-only</li>
<li><a href="9c222c9c59"><code>9c222c9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/173">#173</a> from karl-johan-grahn/master</li>
<li><a href="3ecc8b826e"><code>3ecc8b8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/170">#170</a> from janosh/master</li>
<li><a href="c12ef3ac80"><code>c12ef3a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tcort/markdown-link-check/issues/174">#174</a> from carlsmedstad/executable-in-path</li>
<li><a href="d33f4f512b"><code>d33f4f5</code></a> chore: upgrade dependencies</li>
<li><a href="f27ab20c7c"><code>f27ab20</code></a> Update README.md</li>
<li><a href="df5e054acd"><code>df5e054</code></a> Symlink executable into PATH</li>
<li>Additional commits viewable in <a href="https://github.com/tcort/markdown-link-check/compare/v3.8.7...v3.9.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markdown-link-check&package-manager=npm_and_yarn&previous-version=3.8.7&new-version=3.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2021-12-15 16:46:15 +00:00
Chris Pearson 10a5beea23
Mac/iOS NuGet pack script (#1198)
* Update Podfile.lock

* Make publish overrides debug-compatible

If we want to use the nuget pack script to build debug configuration for sideloading, then we want optimization off and want more debug info.

* Initial nuget_pack.sh

First working version, based on refactored FUA script.  -p option is currently a no-op, but -d option builds Debug as advertised.

* Use absolute paths for xcode_select_current_version.sh

Script behavior should not depend on $PATH.

* Update Podfile.lock

* Add prerequisite tasks

- Add do_prerequisites function that does yarn/gem/pod steps to bootstrap environment enough to build the native libraries
- Add git_clean function and a third -c level since this is a pretty common troubleshooting step
- Add special handling of the (now common) pushd/popd shell builtins, to suppress their normal output while not suppressing the logging of the command itself
- Rename print_error to log_error for consistency with log_action
- Use empty/nonempty as the boolean states for bash vars 'prerequisites' and 'debug'

* Rename script to nuget_pack_apple.sh

nuget_pack.sh works for FUA, but FURN includes platforms beyond Apple, so we should be more specific.

* Escape backticks

We don't actually want to run `pod install` when printing this message.

* podfile locks

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2021-12-08 16:41:28 -06:00
Adam Foxman f16d742b5c
Update to react-native 0.64 (#1159)
* Update to react-native 0.64

* Cleanup after merge

* cleanup unused dependency

* fix dependencies, undo whitespace-only change

* fix dependencies. remove unneeded tslint/eslint suppression.

* revert unneeded change

* Update test snapshots

* Update callout test: border width picker must use values that can be converted between string and number. Picker requires strings, but the target borderWidth value is a number.

* SyntheticEvent: dispatchConfig prop is not present in react-native NativeSyntheticEvent. To compensate for its absence, make SyntheticEvent.dispatchConfig optional.

* Change files

* Remove forced resolution of react-native and react packages.

* Update react-native-test-app and ios pod versions

* Update CLI to 5.0.1 and use cli-platform-ios 5.0.2 since it has a critical fix for RNTA.

* Apply RNTA's published workaround for ios/android issues.

* take 2

* Update @react-native-community/slider, and removing pods which are autolinked.

* explicitly set jdk

* undo java version and remove ndk install

* Update RNTA
2021-11-17 11:11:30 -08:00
Samuel Freiberg a8220e74a6
Win32 E2E Testing - Implementation Changes + Accessibility Testing Additions (#1125)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Adding Button accessibility testing

* Adding accessibilityTesting for RadioGroup, Tabs, ExperimentalTabs, Link, Text

* Adding extra documention on page objects

* Uncomment all tests in bootpage

* Fixing faulty link

* Change files

* Nit comment fix

* Increasing depth of scroll

* Specify test descriptions for each component. It needs to be specific to each control so if there's an error, the screenshot fileName will be correct (it uses the test description)

* Changing where we scroll to find components. Before, we were scrolling at the title of the Test page. However, if our E2E component is far enough down, the title of the test page will be off-screen, thus causing an error

* Nit: Fixing params in WDIO hook

* Taking a screenshot on app boot

* Updating artifact location

* Reverting unwanting upgrade of WDIO

* Update yarn.lock

* Taking screenshot on app boot

* Making CI create the errorShots directory

* Changes to CI

* Testing CI - Win32 not creating Screenshots of E2E Testing. Testing dir in each directory

* Removing CI commands to check directory (this was for testing purposes only)

* Removing unneeded screenshots

* Updating Accessibility Role Control Types link

* Removing commented out code

* Updating a comment
2021-11-16 14:01:29 -07:00
Saad Najmi fd19db8752
Move CI to use Xcode 13.1 (#1123)
* remap some colors

* Move to Xcode 13

* Actually 13.1

* Try bumping our CLI dependency

* Add verbose flag

* fix typo

* pre boot simulator

* Update preboot script
2021-11-06 23:51:13 -05:00
Tommy Nguyen 61d10c01a0
ci: bump Node to 14.x (#1122) 2021-11-04 18:37:10 +01:00
Samuel Freiberg d4016c370e
Automated E2E Testing Improvements (#1086)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Transferring E2E Improvements to this branch. Other branch had weird CI errors

* Change files

* Upgrading WebDriverIO package

* Reversing WDIO upgrade
2021-10-20 15:15:04 -07:00
Andrew Coates f84dd35211
Publish nuget to react-native feed (#1057)
* Publish nuget to react-native feed

* update midgard-yarn
2021-10-07 11:46:11 -07:00
Keven Arroyo 00b54000e8
New pipeline to test if links on the repo are working (#891)
* New pipeline to test if links on the repo are working

* Adding command

* Testing different path

* Parameter to fail test

* Reverting change

* Testing another fail condition

* Missing fail error

* Testing different test failure

* testing out xargs

* Fixing broken links to pass test

* Fix broken link

* Change name of config file

Co-authored-by: Krystal Kramer <krsiler@microsoft.com>
2021-09-30 16:04:15 -04:00
Samuel Freiberg 996c430d68
Allowing Merge on E2E Failure (#1020)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Testing CI pipeline to continueOnError

* Adding Windows

* Change files

* Reverting Callout TestPage changes and increasing E2E page timeout to 6 seconds from 3 seconds - hopefully will decrease likelihood of false-negative due to long wait between pages

* Moving continueOnError to be specific to the E2E testing task

* Testing a CI failure - will revert

* testing ci

* Reverting Callout Test page

* Removing unnecessary change file

* Change files
2021-09-23 12:11:13 -07:00
Samuel Freiberg 9c52cfbce0
Bumping Rex-Win32 Bits (#926)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Bumping rex

* Change files

* Testing if CI still fails with regular yarn command

* Reverting CI change

* Add .npmrc to point office-iss to correct registry

Co-authored-by: Ruriko Araki <ruaraki@microsoft.com>
2021-09-20 14:19:23 -07:00
Saad Najmi 3cff0626e7
Revert pipeline to use Xcode 12.4 to fix failing "Apple PR iOS" CI job. (#988)
* Revert "Update our pipeline to use macOS 11 and Xcode 12.5 (#966)"

This reverts commit f049c29171.

* Keep Xcode 12.5

* revert to xcode 12.4, use macOS 11
2021-09-08 13:53:42 -05:00
Saad Najmi d63d355100
(Apple) Pack only ship slices of libraries in our NuGet (#985)
* Only build and pack ship libraries

* test pipeline

* Remove yarn bundle from NuGet Publish as well

* Simplify pipelines a bit

* fix yml

* Comment out NuGet Publish from PR again

* Remove comment now that NuGet Publish is shorter
2021-09-08 13:29:56 -05:00
Saad Najmi f049c29171
Update our pipeline to use macOS 11 and Xcode 12.5 (#966)
* Update to macOS 11 and Xcode 12.5

* update publish pipeline too
2021-08-31 20:47:33 -05:00
Saad Najmi 183bcbe111
Update Native Apple Code for better downstream integration (#710)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [ ] win32 (Office)
- [ ] windows
- [ ] android

### Description of changes

This change refactors some of our native iOS and macOS code for better downstream integration into the office codebase.

Namely:
- Every native module's `<Component>-Bridging-Header.h` has been renamed to `<Component>ViewManager.h`. 
  - These files were never bridging headers, and cocoa pods / swift never interpreted them as such. There is potential to improve the RN docs on how to write a native swift module here as well.
- Adds the `BUILD_LIBRARY_FOR_DISTRIBUTION` flag to each native module's pod spec
  - This flag allows for ABI stability in our swift static libraries. Note that the main side effect of this flag is it produces a `.swiftinterface` file in the static libraries' swift module. I do not include the swift module in the NuGet to be included downstream in office. In my testing I found it was not needed to get iOS NativeButton to link, so I opted not to include the swif module. This may change in the future as I try to figure out why the macOS NativeButton static library won't link.
- Adds the `OTHER_SWIFT_FLAGS=-gline-tables-only` flag to each native module's pod spec
  - This is a potential security risk that is fixed, as per the comment here https://github.com/microsoft/fluentui-react-native/pull/710#discussion_r688016727 . 
- removes the `CLANG_DEBUG_INFORMATION_LEVEL=line-tables-only` build flag
  - This caused issues with the previous `BUILD_LIBRARY_FOR_DISTRIBUTION` flag and build failures. I'm not sure why. 
- Sets the Swift version to 5.0
  - I added this because I noticed that Azure pipelines would actually use the Swift 5.3.2 compiler, so I wanted to be explicit which version of swift we are compiling for.

Prior to this change, we could not link the NativeButton component downstream into office due to some linker issues. This change updates a few parts of our native iOS and macOS code such that we can now link the iOS NativeButton. The macOS NativeButton static library still does not properly link, I'll leave that as a followup.

### Verification

I had a local change downstream in office to consume an intermediate NuGet produced by this PR and test that linking worked. That's where I saw that iOS and not macOS works. Link for those who can see it: https://office.visualstudio.com/OE/_build/results?buildId=9621115&view=logs&j=4257c0a7-7659-5375-d6e0-cde9f28a3d36

### Pull request checklist

This PR has considered (when applicable):
- [x] Automated Tests
- [x] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2021-08-13 08:48:32 +00:00
Saad Najmi 8fc964aec2
Use SwiftUI Avatar implementation from FluentUI Apple (#682)
### Platforms Impacted
- [x] iOS
- [ ] macOS
- [ ] win32 (Office)
- [ ] windows
- [ ] android

WIP to test pipeline / NuGet consumption.

### Description of changes

This change updates our Avatar component (which was a native module wrapping the FluentUI Apple Avatar) to use the new FluentUI Apple Vnext SwiftUI implementation of Avatar. I also cleaned up the test page for Avatar and made it look a lot nicer.

The change is non-trivial: It required me to define a new obbj-c class and macros to pass properties from Javascript to the SwiftUI View. The class will need to be implemented one per every new component. The macros can be reused by future SwiftUI components. The macros and implementation were inspired by https://betterprogramming.pub/react-native-meets-swiftui-d1606a8e1681

Explanation:
SwiftUI talks to normal Swift / obj-c through a proxy / viewWrapper class. The proxy class gives you access to a state object, and a UIView that contains the SwiftUI view. The important bit: You can access the view from the proxy class, but you cannot access the proxy class from the view.
```
Proxy Class (MSFAvatar)
|-> View (UIView  wrapper around SwiftUI View)
|-> State (Used to set properties on the SwiftUI View)
```

This does not work well with React Native. React Native View Managers expect to be able to set properties directly on the view via the view class, and know not about this indirection through the proxy object. To solve this, I created an extension on the proxy class that I named `MSFAvatarStorage` that allows me to store a key value pair of view->proxy classes. This means that given a view, I can now look up it's proxy object, then access it's state object to set properties.

```
Proxy Class (MSFAvatar)
|-> View (UIView  wrapper around the SwiftUI view)
|-> State (used to set properties on the SwiftUI view)
|-> Storage (view->proxy object mappings)
```

The last bit I needed was extra macros to actually do this indirection:
```
#define RCT_EXPORT_SWIFTUI_PROPERTY(name, type, proxyClass) \
 RCT_REMAP_VIEW_PROPERTY(name, __custom__, type)  \
 - (void)set_##name:(id)json forView:(UIView *)view withDefaultView:(UIView *)defaultView RCT_DYNAMIC { \
     NSMutableDictionary *storage = [proxyClass storage]; \
     proxyClass *proxy = storage[[NSValue valueWithNonretainedObject:view]];  \
     proxy.state.name = [RCTConvert type:json]; \
 }
 
 ...
 
 // In MSFAvatarViewManager
 RCT_EXPORT_SWIFTUI_PROPERTY(primaryText, NSString, MSFAvatar)
 
 ```

And now we have a working SwiftUI based native component in React Native!

### Verification

Rewrote the test app to test the SwiftUI based props. They work!

https://user-images.githubusercontent.com/6722175/120049216-e7f26700-bfde-11eb-855f-c0d9f5ab4166.mov

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [x] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2021-08-05 21:01:30 +00:00
Saad Najmi 451f60120a
remove yml for dry run (#808) 2021-07-24 09:39:29 -07:00
Tommy Nguyen 99e6bc11d8
chore: use react-native-test-app for Windows (#755)
* chore: use react-native-test-app for Windows

* let dep-check manage fluent-tester's dependencies

* fix windows project config

* update app id

* bump @rnx-kit/* to latest

* align metro

* fix RedBox not appearing

* sync lock files

* fix Metro watching Visual Studio generated files

* rename before delete to avoid fs race conditions

* remove wdio results earlier

* don't delete non-existent logs

* up connection retries

* remove results before starting wdio

* use embedded bundle

* bump @rnx-kit/metro-config to 1.2.3

* recreate test output folders

* don't watch other test apps and build output

* restore App.js

* workaround for filesystem race condition

* don't bundle before build is done

* Change files

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2021-07-22 15:42:45 -05:00
Saad Najmi a1ebc6378c
Add a NuGet publish dry run job to PR pipeline (#736)
* Add a NuGet publihs dry run job to PR pipeline

* Make a commit that should break the PR Test

* Undo obvious error, keep rename of bundle->jsbundle
2021-06-24 17:26:10 -05:00
Saad Najmi dfd0de339b
Remove fake dry run that will actually publish on every PR (#685) 2021-05-12 12:10:09 -05:00
Saad Najmi 7651a5ee0c Attempt NPM Publish 2021-05-11 16:36:36 -05:00
Saad Najmi 1b78ae2a43 Add empty json to changelog, don't push git in dry run 2021-05-11 14:35:56 -05:00
Saad Najmi 480e809f4d More indentation fix 2021-05-11 14:13:32 -05:00
Saad Najmi 4a322af57b Fix Indentation 2021-05-11 14:11:08 -05:00
Saad Najmi b51e17ead9 Add dry runs to PR pipeline 2021-05-11 14:03:28 -05:00
Saad Najmi 38e91ad9a5
Add apple theme static libraries to NuGet package (#655)
* Add apple theme static libraries to NuGet, add NuGet Publish PR job

* Fix path in nuspec

* Comment out NugetPublish PR Job
2021-04-03 17:42:14 -05:00
Saad Najmi 3cfca2c4b4
Update xcode to 12.4 (#628) 2021-03-04 00:17:41 -06:00
Mayank Shukla 6acbf5b5d8
setup Basic Android azure pipeline (#586)
* react-native-fluentui setup for android

* react-native-fluentui setup for android

* react-native-fluentui setup for android

* match name in package.json

* remove duplicate command

* Set up CI with Azure Pipelines for android

[skip ci]

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for android app launch

* Update azure-pipelines.yml for android ndk

* remove android emulator setup for now

* correct path for gradle

* gradlew not found error probable fix

* add android NDK setup file

* android deps setup

* correct mapping

* correct syntaxes

* android NDK download

[skip ci]

* update artifact path for Android apk and installAPK

* update artifact path for Android and install apk and start instrumented test

* Use assemble with cAT not install

* add emulator start script

* Use agent with java 8

* add comments

* change agent

* improve variable names , remove unnecessary configs

* formatting and specify versions

* trial changes

* trial changes

* Azure piple setup for android

* spacing alignment
2021-02-18 08:06:20 -08:00
Saad Najmi 993e7072e5
Build arm64e for iOS device builds in publish pipeline (#580)
* Initial commit with extra job to build static libs

* change job name

* increase timeout time

* Remove temporary staticlibbuild step
2021-01-14 15:08:42 -06:00
Saad Najmi 57d85b7fb8
Fix publish pipeline and properly build universal binaries for macOS (#578)
* Initial commit

* Add Nuget Pack Job to PR Pipeline

* Fix NuSpec

* Change files

* Clean up to make PR worthy

* fix ios bug, add xcconfig manually

* Add comment and issue to macOS avatar implementation

* initial commit

* Force build static libs in publish to make sure parsing is correct

* Revert change to test building static libs

* Move xcconfig to own file, retest in PR pipeline

* Copy template from fluentui-apple as they mismatch

* move macOS steps sooner

* Simplify xcodebuild template

* remove manual testing from PR pipeline
2021-01-13 10:31:40 -06:00
Saad Najmi 4b8fb620a3
Add beta macOS implementation to experimental-avatar to test arm64 pipeline (#577)
* Initial commit

* Add Nuget Pack Job to PR Pipeline

* Fix NuSpec

* Change files

* Clean up to make PR worthy

* fix ios bug, add xcconfig manually

* Add comment and issue to macOS avatar implementation
2021-01-12 15:10:25 -06:00
Saad Najmi 4ce9960d50
Initial Commit (#573) 2020-12-12 13:34:57 -06:00
Saad Najmi ca4f4080f8
Update react-native-test-app dependency, which allows RN 0.63 in macOS test app, and run-android CLI support (#566)
* ios and macos work, not android

* Move android test app to pproper structure

* some extra files

* turns out we need this

* Add Android CI build step

* Revert 0.63 change to ios and android

* Undo changes to windows test app

* Update documentation and ADO

* Fix yml

* fix react dependency

* Forgot quote mark

* try the macos image for Android PR

* Remove Android CI PR pipeline

* remove carets, fix run-ios args

* Update yarn lock

* Remove caret from Android

* Update apps/macos/package.json
2020-12-10 03:31:21 -06:00
Samuel Freiberg 8d7cf2744c
Replace WinAppDriver 1.2.1 with WinAppDriver 1.1 (#561)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Fixing WinAppDriver version for CI Pipeline

* Fixing repo

* Moving WinAppDriver change to only Windows jobs
2020-11-17 11:23:31 -08:00
Saad Najmi 4ffe2ac68e
Package Apple Static Libraries + JS Bundle in Nuget Package (#529)
* Initial Commit

* Set up CI with Azure Pipelines

Comment out NPM package publish [skip ci]

* Update publish-nuget-job.yml

* Update publish-nuget-job.yml

* Try to use jobs

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Deleted broken templates

* Update azure-pipelines.publish.yml for Azure Pipelines

* No more matrixes

* Update azure-pipelines.publish.yml for Azure Pipelines

* more changes

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update paths

* More updates

* Update

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* revert using cocoapod task

* Forgot word

* Remove compiler optimizations

* simplify apple-xcode-build

* Use xcode 12

* typo

* Add bridging header to podspec

* nevermind

* Remove section from Podfile

* Try only one config

* Use xcodebuild instead of xcode task

* typo

* another typo

* remove extra args from xcconfig

* simulator passes, device doesnt. what about mac?

* Maybe 4 of 6 passing

* Try xcode task again

* typo

* Maybe all 6 with a signing id

* more explicit derived data path

* maybe no sign

* Clean up ordering / path

* Remove unnecessary stuff

* Dont use env variable in one template

* Switch to use the default version of xcode like we do in fluentui apple

* Bring over xcode select script

* Move pipeline specific scripts to .ado/scripts

* Update nuspec comments to specify bundles are release bundles
2020-10-27 14:42:45 -07:00
Saad Najmi 718fb46581
Fix nuget pipeline (#481)
* Explicitly specificy files to include in nuspec

* Update azure-pipelines.publish.yml for Azure Pipelines

* renamed nuspec in yml

* Fix some edits in package.nuspec

* Update azure-pipelines.publish.yml
2020-09-24 10:16:06 -07:00
Saad Najmi 8ec6742d4e
Publish NuGet Package Microsot.FluentUI.ReactNative to internal Office NuGet Feed (#466)
* Set up CI with Azure Pipelines

[skip ci]

* fix merge error

* forgot files

* Addded Nuspec

* Update azure-pipelines.publish.yml for Azure Pipelines

Comment out this

* Update azure-pipelines.publish.yml for Azure Pipelines

Comment out variable group

* Set up CI with Azure Pipelines

[skip ci]

* Added just the package.json to the nuspec

* remove external, comment out yarn install and test

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Revert changes to publish yml, get ready for PR

* clean up yml

* Update azure-pipelines.publish.yml for Azure Pipelines

* Update azure-pipelines.publish.yml for Azure Pipelines

* Remove files from nuspec

* Back to the original .publish file with the extra template

* Update FluentUI.nuspec

* Update FluentUI.nuspec

* Update azure-pipelines.publish.yml

* Update publish-nuget-job.yml

* Update azure-pipelines.publish.yml
2020-09-22 11:21:33 -07:00
Saad Najmi 0c35ad1f0b
Shimmer view component on iOS (#372)
* Copy Link into Shimmer

* try to add it to fluent tester

* Shimmer test (copy of Link Test) showing in iOS test app

* Minimum set of files for an empty native shimmer control, everything is commented out that isn't needed

* obj c version of wrapped shimmer view. needs a /MicrosoftFluentUI/Swift Compatibility Header in the HSP of the generated xcconfig to work

* updated gitignore

* Converted to swift

* Try adding a podspec and referencing it in our final app

* rename podspec

* Remove unnecessary files

* ShimmerView rendering in test app

* Wrapped Shimmer View instead of ShimmerLinesView

* Moved a file

* Trying to add a custom property, does not work

* Using compose framework once more

* shimmerAppearance also exposed

* Lets just use props and no tokens for now

* cleaner swift file

* minor changes

* More changes

* Update some dependencies from the upstream counterpart

* Added new test

* Change files

* Fixed two bugs where Shimmer.tsx threw a tyoe error, and where ShimmerContainverView did not set props correctly

* Some extra comments / documentation

* Setting a defualt token works, customization does not

* Token customization works

* use updated FUA version of shimmer

* Updated podspec

* Add back a minimum iOS deployment target, remove tokenProps

* Update Xcode Version to 11.4.1

* Remove tokenprops: true from Shimmer
2020-09-09 01:07:40 -07:00
Jason Morse 79677c8f32
Switch to using Lage as a build sequencer (#357)
* initial lage init

* hook up build and test scripts via lage

* add full build support

* update new packages to use the new task runner

* update README with instructions on using Lage

* update commands executed in CI

* switch to using Lage for build sequencing

* Change files

* enable tests for FocusTrapZone

* turn on Link tests

* enable Stack tests

* add verbose output to full build task in CI

* add the verbose flag to the actual command this time

* split up build and bundle to handle resource failures

* rename full-build to buildci to be consistent with fabric, up memory limit in CI

* update README for buildci command

* try limiting concurrent processes for CI

* remove lerna dependency, leaving config file

* break up publish tasks to avoid failures

* try again to fix the CI

* fix lerna reference in README

* fix bad capitalization and try with full buildci command

* fix missing dep in contextual menu
2020-07-29 15:26:39 -07:00
tkamireh 23727b0370
Use Node 12 in publish 2020-07-22 12:52:31 -07:00
Tommy Nguyen 8369452d64
Fix macOS test app (#328) 2020-07-13 13:15:54 -07:00
Samuel Freiberg 00aa319f77
Enhance E2E Reporting + CI Reliability (#325)
* Yarn

* Enhance E2E Reporting + CI Reliability

* Nit - Formatting

* Removing sleep call - originated from RNW. Will observe how this affects the pipeline
2020-07-10 11:51:09 -07:00
Tommy Nguyen c5b508f7fa
Migrate iOS test app to react-native-test-app (#302) 2020-07-10 09:52:42 -07:00
Jason Morse ea386320f8
Bump react-native-windows version to 0.62.1 to (hopefully) fix CI loops (#320)
* bump rnw version to 0.62.1

* Change files

* add missing lock file

* turn on logging for CI

* move back to experimental nuget usage

* update to use the experimental nuget support, for real this time

* more patches to project files

* Connect to correct nuget feed, and use correct nuget version

* fix another version

* Use midgard-yarn

* Use release in uwp for now.

* use x64 for now

* work around for CLI bug

Co-authored-by: Andrew Coates (REDMOND) <acoates@microsoft.com>
2020-07-07 20:52:12 -07:00
Jason Morse a47353f459
Rework CI pipelines to be faster (#319)
* rework CI pipelines to be faster

* fix indentation

* fix erroneous character in yml file

* remove mac bundle step from apple tests
2020-07-06 23:58:20 -07:00
HeyImChris 40d594bb17
Add iOS CI to run our test app (#272)
* Add ios ci to run our test app

* Stub out yarn macos until we get macOS CI running too

* Update macos CI with new command
2020-06-16 10:15:32 -07:00
Samuel Freiberg a3aeab0062
Adding UWP E2E Testing to CI Pipeline (#245)
* Yarn

* UWP Testing

* UWP testing working

* Increasing Timeouts for WebDriverIO and Jasmine to account for long bundle loads

* Change files

* CI Tests

* CI Loop UWP

* Fix

* small fix

* Small

* CI

* Added certificate for UWP test

* Small change

* Adding NuGet download in CI

* Adding Nuget Restore command

* Small fix

* Testing CI

* CI

* CI

* CI

* CI

* Changing powershell CI

* CI

* Nuget Restore

* CI

* CI

* Removing NuGet restore from CI

* Removing nuget install

* Copying RNW's Pipeline for UWP

* CI

* CI Test

* CI

* s

* Testing

* ci

* d

* s

* c

* ;

* f

* a

* Added Windows 10 SDK to CI

* SDK

* SDK

* SDK fix

* Adding Nuget Restore back

* Nuget

* Dir

* Dir

* d

* d

* Checking dir

* d

* Adding certifcate to store

* Certificate

* CI

* Testing

* Testing

* adding react-native-public feed

* Fix

* Removing nuget restore

* Install nuget

* Opening new CMD to run server

* Testing E2E

* Install Node

* Changing server start

* server

* ci

* Opening new CMD with Powershell to start server

* Testind

* no message

* Test

* Changing script path

* Changing powershell to inline

* Server

* Running app

* d

* Checking to see if cmd process' keeps running

* Checking still

* Fixing server

* Fix

* Seeing if app is running

* Kill FluentTester, leave server

* App stopped working

* Retry

* D

* Re-submitting

* Testing CI Failure

* CI Testing Succeeding

* Changing syntax to shortcuts

* Fixing syntax error

* Adding in Windows PR

* Format E2E UWP Testing

* Small

* Cleaned up code for PR

* Delete @fluentui-react-native-button-2020-05-21-15-50-20-sammy-UWP_E2E.json

* PR Fixes

* Comment fix

* Comment Fix

* PR Fixes

* Adding Node.JS and NuGet install to setup-repo template

* Updated comments
2020-06-09 13:11:07 -07:00
Samuel Freiberg f46fc39f15
UWP E2E Testing (#233)
* Yarn

* UWP Testing

* UWP testing working

* Increasing Timeouts for WebDriverIO and Jasmine to account for long bundle loads

* Change files

* CI Tests

* CI Loop UWP

* Fix

* small fix

* Small

* CI

* Removing CI changes

* Getting ready for PR

* Upgrading react-native-windows to .47

* Reverting changes

* Adding Page Timeout const

* script change

* Updating CI

* Change files

* ReadMe updated

* Adding constants

* PR Fixes
2020-06-04 16:13:22 -07:00
Saad Najmi 347cca99be
Enable yarn build and yarn bundle for iOS (#236)
* Add more scripts to package.json, change name to FluentTester for parity with win32, update yml files

* Undo yarn lock changes

* Maybe I do need this change
2020-05-29 07:51:44 -07:00
HeyImChris d154883db2
Move projects up a dir and opt apple platforms into lerna/yarn (#226)
* move projects up a dir and opt apple platforms into lerna/yarn

* Don't need to modify these anymore with our projects moved up a level

* try to fix some out of tree platform issues for apple

* Fix build error of wrong platform

* Add parity to win32/windows with our index.js and index.tsx mapping.

* split ios/macos, stand up ios tester

* Remove bundles

* Update CI with our new project locations

* More CI updates

* Pushing up changes the CI says it needs in yarn.lock

* delete unused app.js file

Co-authored-by: Jason Morse <jasonmo@microsoft.com>
2020-05-28 18:41:21 -07:00
Samuel Freiberg ab9641d24e
Appium E2E Testing - Phase 1 (#203)
* Yarn

* Adding Appium Testing - Unable to open FluentTester

* Fluent Tester app is booting

* Runs tests

* Opnes + clicks on test pages, some tests still fail though

* Simplified tsconfig

* Opening pages

* Commit

* Removing local paths, replacing with path.resolve()

* Azure-Pipeline additions

* Change files

* yarn lock

* Fixing app command-line agrs

* Pipeline Test

* Pipeline changes

* Testing a failed E2E scenario with CI

* Finalized CI

* Small Link test page update

* Nit fix

* PR Fixes

* PR Fixes

* PR Fixes

* Small PR change

* Small PR Fix

* Nit removing './' in import statement

* Delete appium.txt

Not needed

* Delete appium.txt

* PR Fix

* PR Remove comments

* PR Fixes - Created BasePage

* PR Change fixes

* PR Fixes

* Adding E2E reports to .gitignore

* Delete appium.txt
2020-05-19 16:28:41 -07:00
HeyImChris 4a4ec26c0b
iOS/macOS with CI and RN dependencies (#166)
* Add macOS/iOS RN deps, update CI

* Update CI steps to launch custom macos/ios packagers

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Syntax fixes to CI

* Rewrite the yml to fit ADO syntax. Split packagers into two shell scripts

Delete extraneous ios target

* Update apple-xcode-build.yml

* Remove extra vmimage reference

* Update yarn.lock

* Specify vmIage as macos within the job

* Fix path to podfiles

* Add more explicit description of pod install task

* bash var syntax

* Update apple-xcode-build.yml

* Update condition variable syntax

* update missed var name

* add yarn install to platform folders to install node_modules

* yarn install

* update path to build

* Build with rn commands instead of xcodebuild

* synax fix

* Update build settings and remove part of build infra to unblock

* Update mac test project

* Clean up view controller and app delegate code to load the bridge more succinctly

* Pull in the same version of rn for mac/ios

* Make the view controller our delegate

* Remove a pod we dont need until we're on 0.61

* Remove other pods that don't exist in 0.60

* Fix up more pod deps to match 0.60.0 instead of 0.62.0

* Remove flipper deps
2020-04-21 19:20:09 -07:00
Chris Hogan ad417c43c1 update CI 2020-04-16 09:00:57 -07:00
Chris Hogan e3d07f2eb8 update CI for new macos location 2020-04-15 16:01:39 -07:00
Christopher Hogan 76c440f895 update release build 2020-03-28 23:32:55 -07:00
Christopher Hogan 4f198db368 remove test configuraiton 2020-03-28 23:23:26 -07:00
Christopher Hogan 519c3dd59f remove extraneous slash 2020-03-28 23:13:52 -07:00
Christopher Hogan 6df83539eb testing where root is 2020-03-28 23:03:06 -07:00
Christopher Hogan 4441a07412 pod install pipeline update 2020-03-28 22:52:58 -07:00
Christopher Hogan b0df5cd2eb try a different path to the bash script 2020-03-28 21:15:17 -07:00
Christopher Hogan f1a2739c15 remove stale template 2020-03-28 21:04:02 -07:00
Christopher Hogan 8e32c309da update install pod script calls 2020-03-28 21:01:35 -07:00
Christopher Hogan e19a5e19cb move pod install script to bash 2020-03-28 20:57:43 -07:00
Christopher Hogan 323528037f pod bash install script fix 2020-03-28 20:39:52 -07:00
Christopher Hogan fe8ef70e7f pathing for build updated 2020-03-28 20:23:25 -07:00
Christopher Hogan f04bbf89d7 path updates 2020-03-28 20:22:06 -07:00
Christopher Hogan 4f471d6cc4 fix xcode select pathing 2020-03-28 20:20:11 -07:00
Christopher Hogan f9992e45ce Add Apple build steps to the Azure pipeline 2020-03-28 20:17:15 -07:00
Christopher Hogan d049e579a5 move our ADO scripts to .ado/ 2020-03-28 12:06:39 -07:00