threefoldtech / js-sdk

extensions to js-ng for tfgrid
Apache License 2.0
14 stars 6 forks source link

Test: Farm management: should allow farmer to set custom prices for specific customer #2696

Closed ramezsaeed closed 3 years ago

ramezsaeed commented 3 years ago

Feature

https://github.com/threefoldtech/js-sdk/issues/2252

https://github.com/threefoldtech/js-sdk/issues/2624

Description

Add test scenarios for setting custom prices for specific customer, to be used in testlodge for an eternal user testing.

Pishoy commented 3 years ago

first working test

  1. go to SET FARM PRICES tab , then I set the is to 1 1 1 as shown on below picture
  2. the editing working well

image

second working test

  1. go to ADD A DEAL tab, set a deal to bishoy2.3bot account

image

Third working test

  1. go to ADD A DEAL tab, edit above deal for bishoy2.3bot account

image

Fourth working test

  1. go to ADD A DEAL tab, delete above deal for bishoy2.3bot account image

first bug

  1. go to farm settings
  2. press on + IP Address management
  3. delete added IP address
  4. got error as below picture image

    second bug

    adding same deal does not give message like "deal already exist"

  5. go to ADD A DEAL tab, add same deal for bishoy2.3bot account with 2 2 2 , while that deal already exist
  6. the deal added normaly while it is already exist image

feature request

to validated the walllet address on adding a wallet address steps:

  1. go to farm settings
  2. add a new wallet, put the invalid address as below :
  3. the wallet address added depiste validation image
xmonader commented 3 years ago

@Pishoy please move any issue that's not related to the farm prices to a separate issue e.g (the ip mgmt bug and the address validation)

and for adding the deals (it will create or update an existing deal) the farmer can have only one deal with a specific threebot.

Pishoy commented 3 years ago

new issue added https://github.com/threefoldtech/js-sdk/issues/2701