-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:evergreen-ci/ui into dependabot/npm…
…_and_yarn/leafygreen-ui/segmented-control-8.2.11
- Loading branch information
Showing
213 changed files
with
3,798 additions
and
1,937 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
node_modules | ||
|
||
# artifacts | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
schema: "apps/*/sdlschema/**/*.graphql" | ||
documents: "apps/*/**/src/gql/**/*.graphql" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
yarn lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
# Evergreen UI | ||
|
||
The new home of [Spruce](/apps/spruce) and [Parsley](/apps/parsley). | ||
|
||
## Monorepo Tips & Tricks | ||
|
||
Check out the [Yarn Workspaces documentation](https://classic.yarnpkg.com/lang/en/docs/workspaces/) for more. | ||
|
||
### Upgrades | ||
|
||
To upgrade a dependency across workspaces: | ||
|
||
```bash | ||
yarn upgrade-interactive [--latest] [package-name] | ||
``` | ||
|
||
### Scripts | ||
|
||
To run a script in a workspace from root: | ||
|
||
```bash | ||
yarn workspace [workspace-name] run [script-name] | ||
``` | ||
|
||
For example, `yarn workspace spruce run storybook`. | ||
|
||
### Testing | ||
|
||
To run all unit tests across the repository, from root: | ||
```bash | ||
yarn test | ||
``` | ||
|
||
To run a particular workspace's unit tests from root: | ||
```bash | ||
yarn test --selectProjects [workspace-name] | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
apps/parsley/cypress/integration/resmokeLogs/resmoke_evg_all_logView.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
describe("Basic resmoke log view", () => { | ||
const logLink = | ||
"/resmoke/mongodb_mongo_master_enterprise_amazon_linux2_arm64_all_feature_flags_jsCore_patch_9801cf147ed208ce4c0ff8dff4a97cdb216f4c22_65f06bd09ccd4eaaccca1391_24_03_12_14_51_29/0/job0/all"; | ||
beforeEach(() => { | ||
cy.visit(logLink); | ||
}); | ||
|
||
it("should render resmoke lines", () => { | ||
cy.dataCy("resmoke-row").should("be.visible"); | ||
cy.dataCy("ansii-row").should("not.exist"); | ||
}); | ||
|
||
it("the HTML log button is disabled", () => { | ||
cy.toggleDetailsPanel(true); | ||
cy.dataCy("html-log-button").should("have.attr", "aria-disabled", "true"); | ||
}); | ||
|
||
it("the job logs button has a link to the job logs page", () => { | ||
cy.toggleDetailsPanel(true); | ||
cy.dataCy("job-logs-button").should( | ||
"have.attr", | ||
"href", | ||
"http://localhost:3000/job-logs/mongodb_mongo_master_enterprise_amazon_linux2_arm64_all_feature_flags_jsCore_patch_9801cf147ed208ce4c0ff8dff4a97cdb216f4c22_65f06bd09ccd4eaaccca1391_24_03_12_14_51_29/0/job0", | ||
); | ||
}); | ||
|
||
it("should show the project, patch, task, and group the breadcrumb", () => { | ||
cy.dataCy("project-breadcrumb") | ||
.contains("mongodb-mongo-master") | ||
.should("be.visible"); | ||
cy.dataCy("version-breadcrumb").contains("Patch 1994").should("be.visible"); | ||
cy.dataCy("task-breadcrumb").contains("jsCore").should("be.visible"); | ||
cy.dataCy("group-breadcrumb").contains("job0").should("be.visible"); | ||
}); | ||
}); |
Oops, something went wrong.