Skip to content

Commit

Permalink
docs: refresh README (#893)
Browse files Browse the repository at this point in the history
* chore: rename repository links

* docs: replace hermione-instances to tesplane in README file
  • Loading branch information
KuznetsovRoman authored Apr 1, 2024
1 parent e6c9490 commit 65bd275
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 233 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* Tests must pass.
* Follow our coding style (eslint will help you).
* If you fix a bug, add a test.
* If you can't fix a bug, file an [issue](https://github.com/gemini-testing/hermione/issues) with the steps to reproduce, the expected and the actual results.
* If you can't fix a bug, file an [issue](https://github.com/gemini-testing/testplane/issues) with the steps to reproduce, the expected and the actual results.
* if an issue desribes a problem which we are unable to reproduce and issue reporter does not answer our questions for 1 week, then this issue may be closed without further investigation.

## How to develop
### Create your own copy
```
git clone https://github.com/gemini-testing/hermione.git
cd hermione
git clone https://github.com/gemini-testing/testplane.git
cd testplane
npm install
```

Expand Down
432 changes: 216 additions & 216 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,21 @@
},
"repository": {
"type": "git",
"url": "git://github.com/gemini-testing/hermione.git"
"url": "git://github.com/gemini-testing/testplane.git"
},
"engines": {
"node": ">= 18.0.0"
},
"keywords": [
"testplane",
"hermione",
"webdriverio",
"mocha",
"test"
],
"bin": {
"hermione": "./bin/hermione",
"testplane": "./bin/testplane"
"testplane": "./bin/testplane",
"hermione": "./bin/hermione"
},
"license": "MIT",
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions src/browser/commands/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AssertViewOptsConfig } from "../../config/types";
export interface AssertViewOpts extends Partial<AssertViewOptsConfig> {
/**
* Maximum allowed difference between colors.
* Overrides config {@link https://github.com/gemini-testing/hermione#browsers browsers}.{@link https://github.com/gemini-testing/hermione#tolerance tolerance} value.
* Overrides config {@link https://github.com/gemini-testing/testplane#browsers browsers}.{@link https://github.com/gemini-testing/testplane#tolerance tolerance} value.
*
* @remarks
* Indicates maximum allowed CIEDE2000 difference between colors. Used only in non-strict mode.
Expand All @@ -15,7 +15,7 @@ export interface AssertViewOpts extends Partial<AssertViewOptsConfig> {
tolerance?: number;
/**
* Minimum difference in brightness (zero by default) between the darkest/lightest pixel (which is adjacent to the antialiasing pixel) and theirs adjacent pixels.
* Overrides config {@link https://github.com/gemini-testing/hermione#browsers browsers}.{@link https://github.com/gemini-testing/hermione#antialiasingTolerance antialiasingTolerance} value.
* Overrides config {@link https://github.com/gemini-testing/testplane#browsers browsers}.{@link https://github.com/gemini-testing/testplane#antialiasingTolerance antialiasingTolerance} value.
*
* @remarks
* Read more about this option in {@link https://github.com/gemini-testing/looks-same#comparing-images-with-ignoring-antialiasing looks-same}
Expand All @@ -25,7 +25,7 @@ export interface AssertViewOpts extends Partial<AssertViewOptsConfig> {
antialiasingTolerance?: number;
/**
* Allows testing of regions which bottom bounds are outside of a viewport height.
* Overrides config {@link https://github.com/gemini-testing/hermione#browsers browsers}.{@link https://github.com/gemini-testing/hermione#compositeImage compositeImage} value.
* Overrides config {@link https://github.com/gemini-testing/testplane#browsers browsers}.{@link https://github.com/gemini-testing/testplane#compositeImage compositeImage} value.
*
* @remarks
* In the resulting screenshot the area which fits the viewport bounds will be joined with the area which is outside of the viewport height.
Expand All @@ -35,7 +35,7 @@ export interface AssertViewOpts extends Partial<AssertViewOptsConfig> {
compositeImage?: boolean;
/**
* Allows to specify a delay (in milliseconds) before making any screenshot.
* Overrides config {@link https://github.com/gemini-testing/hermione#browsers browsers}.{@link https://github.com/gemini-testing/hermione#screenshotDelay screenshotDelay} value.
* Overrides config {@link https://github.com/gemini-testing/testplane#browsers browsers}.{@link https://github.com/gemini-testing/testplane#screenshotDelay screenshotDelay} value.
*
* @remarks
* This is useful when the page has elements which are animated or if you do not want to screen a scrollbar.
Expand Down
6 changes: 3 additions & 3 deletions src/browser/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ declare global {
* Takes a screenshot of the passed selector and compares the received screenshot with the reference.
*
* @remarks
* For more details, see {@link https://github.com/gemini-testing/hermione#assertview documentation}.
* For more details, see {@link https://github.com/gemini-testing/testplane#assertview documentation}.
*
* @example
* ```ts
Expand Down Expand Up @@ -102,7 +102,7 @@ declare global {
* Command that allows to add human-readable description for commands in history
*
* @remarks
* For more details, see {@link https://github.com/gemini-testing/hermione#runstep documentation}
* For more details, see {@link https://github.com/gemini-testing/testplane#runstep documentation}
*
* @example
* ```ts
Expand Down Expand Up @@ -143,7 +143,7 @@ declare global {
* Takes a screenshot of the element and compares the received screenshot with the reference.
*
* @remarks
* For more details, see {@link https://github.com/gemini-testing/hermione#assertview documentation}.
* For more details, see {@link https://github.com/gemini-testing/testplane#assertview documentation}.
*
* @example
* ```ts
Expand Down
4 changes: 2 additions & 2 deletions src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export interface AssertViewOptsConfig {
* @remarks
* By default Hermione throws an error if element is outside the viewport bounds.
* This option disables check that element is outside of the viewport left, top, right or bottom bounds.
* And in this case if browser option {@link https://github.com/gemini-testing/hermione#compositeimage compositeImage} set to `false`, then only visible part of the element will be captured.
* But if {@link https://github.com/gemini-testing/hermione#compositeimage compositeImage} set to `true` (default), then in the resulting screenshot will appear the whole element with not visible parts outside of the bottom bounds of viewport.
* And in this case if browser option {@link https://github.com/gemini-testing/testplane#compositeimage compositeImage} set to `false`, then only visible part of the element will be captured.
* But if {@link https://github.com/gemini-testing/testplane#compositeimage compositeImage} set to `true` (default), then in the resulting screenshot will appear the whole element with not visible parts outside of the bottom bounds of viewport.
*
* @defaultValue `false`
*/
Expand Down

0 comments on commit 65bd275

Please sign in to comment.