Skip to content

Commit

Permalink
deploy: 663b5bb
Browse files Browse the repository at this point in the history
  • Loading branch information
jacqueline-57b committed Jul 16, 2024
1 parent 957e070 commit 72cef7d
Show file tree
Hide file tree
Showing 75 changed files with 12,932 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
WALLET_PRIVATE_KEY_A=0x0000000000000000000000000000000000000000
WALLET_PRIVATE_KEY_B=0x0000000000000000000000000000000000000000
WALLET_PRIVATE_KEY_C=0x0000000000000000000000000000000000000000

STORY_RPC_PROVIDER_URL=https://story-network.rpc.caldera.xyz/http
STORY_NFT_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
STORY_LICENSING_MODULE_ADDRESS=0x0000000000000000000000000000000000000000
STORY_ROYALTY_POLICY_ADDRESS=0x0000000000000000000000000000000000000000
STORY_MINTING_FEE_TOKEN=0x0000000000000000000000000000000000000000
STORY_ROYALTY_POLICY_LAP_ADDRESS=0x0000000000000000000000000000000000000000
STORY_ROYALTY_ERC20=0x0000000000000000000000000000000000000000
STORY_ARBITRATION_POLICY_ADDRESS=0x0000000000000000000000000000000000000000

SEPOLIA_RPC_PROVIDER_URL=https://rpc-sepolia.rockx.com
SEPOLIA_NFT_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
SEPOLIA_LICENSING_MODULE_ADDRESS=0x0000000000000000000000000000000000000000
SEPOLIA_ROYALTY_POLICY_ADDRESS=0x0000000000000000000000000000000000000000
SEPOLIA_MINTING_FEE_TOKEN=0x0000000000000000000000000000000000000000
SEPOLIA_ROYALTY_POLICY_LAP_ADDRESS=0x0000000000000000000000000000000000000000
SEPOLIA_ARBITRATION_POLICY_ADDRESS=0x0000000000000000000000000000000000000000
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
mochawesome-report
dist
dist-ssr
*.local
.env

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
package-lock.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.0.0
Binary file added 20240716/assets/MaterialIcons-Regular.woff
Binary file not shown.
Binary file added 20240716/assets/MaterialIcons-Regular.woff2
Binary file not shown.
14 changes: 14 additions & 0 deletions 20240716/assets/app.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions 20240716/assets/app.js

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions 20240716/assets/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */

/*! mochawesome-report-generator 6.2.0 | https://github.com/adamgruber/mochawesome-report-generator */

/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Binary file added 20240716/assets/roboto-light-webfont.woff
Binary file not shown.
Binary file added 20240716/assets/roboto-light-webfont.woff2
Binary file not shown.
Binary file added 20240716/assets/roboto-medium-webfont.woff
Binary file not shown.
Binary file added 20240716/assets/roboto-medium-webfont.woff2
Binary file not shown.
Binary file added 20240716/assets/roboto-regular-webfont.woff
Binary file not shown.
Binary file added 20240716/assets/roboto-regular-webfont.woff2
Binary file not shown.
2 changes: 2 additions & 0 deletions 20240716/pass_07-16-2024_091605_sdk-test-report.html

Large diffs are not rendered by default.

719 changes: 719 additions & 0 deletions 20240716/pass_07-16-2024_091605_sdk-test-report.json

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# SDK-E2E-Tests

This project dedicates to perform e2e test for the story protocol typescript sdk.

## Prerequisites to run the e2e test

- install nvm if don't have it by running:

`curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash`.

- run `nvm use` to switch node version to v20.0.0
- if you don't have v20.0.0 node installed, please install it by running: `nvm install v20.0.0`

- run `npm i` to install dependencies.
- once all dependencies are installed, you should config your `.env` file with a reference to the `.env.example` file

## How to run the test

- Run specific test:

```
mocha -r ts-node/register -r mocha-steps ./test/**/**/*.test.ts --timeout 240000
```

- Run smoke test in Sepolia:

```
test:sepolia:smoke
```

- Run smoke test in Story Network:

```
test:story:smoke
```

- Run e2e test in Sepolia:

```
npm run test:sepolia:e2e
```

- Run e2e test in Story Network:

```
npm run test:story:e2e
```

- Run all tests in Sepolia:
```
npm run test:sepolia
```

- Run all tests in Story:
```
npm run test:story
```

- Open report, test report is under ./mochawesome-report folder
```
npm run open:report
```
Loading

0 comments on commit 72cef7d

Please sign in to comment.