add default parameters for deploy and modify the hashvalue for share-link test
This commit is contained in:
parent
f29cf5a612
commit
a5419d0158
@ -19,8 +19,14 @@
|
||||
name_price=0tez;
|
||||
skip_price=333mutez
|
||||
}
|
||||
|
||||
deploy:
|
||||
entrypoint: main
|
||||
storage: |
|
||||
{
|
||||
identities=Big_map.literal[(1, {owner=("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address); controller=("tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN" : address); profile=0x0501000000026869});];
|
||||
next_id=2;
|
||||
name_price=10tez;
|
||||
skip_price=333mutez}
|
||||
evaluateValue:
|
||||
entrypoint: ""
|
||||
evaluateFunction:
|
||||
|
@ -22,7 +22,14 @@
|
||||
]
|
||||
deploy:
|
||||
entrypoint: main
|
||||
storage:
|
||||
storage: |
|
||||
record [
|
||||
identities=big_map[1->record [owner=("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address);
|
||||
controller=("tz1gjaF81ZRRvdzjobyfVNsAeSC6PScjfQwN" : address); profile=0x0501000000026869]];
|
||||
next_id=2;
|
||||
name_price=0tez;
|
||||
skip_price=50mutez;
|
||||
]
|
||||
evaluateValue:
|
||||
entrypoint: ""
|
||||
evaluateFunction:
|
||||
|
@ -21,7 +21,12 @@
|
||||
}
|
||||
deploy:
|
||||
entrypoint: main
|
||||
storage: 0
|
||||
storage: |
|
||||
{
|
||||
identities:Big_map.literal([(1, {owner:("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address), controller:("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx": address), profile:0x0501000000026869})]),
|
||||
next_id:2,
|
||||
name_price:10tez,
|
||||
skip_price:333mutez}
|
||||
evaluateValue:
|
||||
entrypoint: ""
|
||||
evaluateFunction:
|
||||
|
@ -24,7 +24,7 @@ describe('Share', () => {
|
||||
await responseCallback;
|
||||
|
||||
const actualShareLink = await page.evaluate(getInputValue, 'share-link');
|
||||
const expectedShareLink = `${API_HOST}/p/WxKPBq9-mkZ_kq4cMHXfCQ`;
|
||||
const expectedShareLink = `${API_HOST}/p/2GnQR0cUYeO7feAw71SJYQ`
|
||||
|
||||
expect(actualShareLink).toEqual(expectedShareLink);
|
||||
done();
|
||||
|
Loading…
Reference in New Issue
Block a user