git.delta.rocks / unique-network / refs/commits / 3a46a68b1b97

difftreelog

test remove .only

Yaroslav Bolyukin2023-05-30parent: #38c8f71.patch.diff
in: master

14 files changed

modifiedtests/src/benchmarks/utils/common.tsdiffbeforeafterboth

no syntactic changes

modifiedtests/src/creditFeesToTreasury.seqtest.tsdiffbeforeafterboth
88 expect(treasuryIncrease).to.be.equal(fee);88 expect(treasuryIncrease).to.be.equal(fee);
89 });89 });
9090
91 itSub.only('Treasury balance increased by failed tx fee', async ({helper}) => {91 itSub('Treasury balance increased by failed tx fee', async ({helper}) => {
92 const api = helper.getApi();92 const api = helper.getApi();
93 await helper.wait.newBlocks(1);93 await helper.wait.newBlocks(1);
9494
modifiedtests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth
18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';
19import {itEth, expect} from './util';19import {itEth, expect} from './util';
2020
21describe.only('evm nft collection sponsoring', () => {21describe('evm nft collection sponsoring', () => {
22 let donor: IKeyringPair;22 let donor: IKeyringPair;
23 let alice: IKeyringPair;23 let alice: IKeyringPair;
24 let nominal: bigint;24 let nominal: bigint;
319 });319 });
320});320});
321321
322describe.only('evm RFT collection sponsoring', () => {322describe('evm RFT collection sponsoring', () => {
323 let donor: IKeyringPair;323 let donor: IKeyringPair;
324 let alice: IKeyringPair;324 let alice: IKeyringPair;
325 let nominal: bigint;325 let nominal: bigint;
modifiedtests/src/eth/createFTCollection.seqtest.tsdiffbeforeafterboth
2020
21const DECIMALS = 18;21const DECIMALS = 18;
2222
23describe.only('Create FT collection from EVM', () => {23describe('Create FT collection from EVM', () => {
24 let donor: IKeyringPair;24 let donor: IKeyringPair;
2525
26 before(async function() {26 before(async function() {
modifiedtests/src/eth/createFTCollection.test.tsdiffbeforeafterboth
2222
23const DECIMALS = 18;23const DECIMALS = 18;
2424
25describe.only('Create FT collection from EVM', () => {25describe('Create FT collection from EVM', () => {
26 let donor: IKeyringPair;26 let donor: IKeyringPair;
2727
28 before(async function() {28 before(async function() {
129 });129 });
130});130});
131131
132describe.only('(!negative tests!) Create FT collection from EVM', () => {132describe('(!negative tests!) Create FT collection from EVM', () => {
133 let donor: IKeyringPair;133 let donor: IKeyringPair;
134 let nominal: bigint;134 let nominal: bigint;
135135
modifiedtests/src/eth/createNFTCollection.test.tsdiffbeforeafterboth
21import {COLLECTION_HELPER} from '../util';21import {COLLECTION_HELPER} from '../util';
2222
2323
24describe.only('Create NFT collection from EVM', () => {24describe('Create NFT collection from EVM', () => {
25 let donor: IKeyringPair;25 let donor: IKeyringPair;
2626
27 before(async function () {27 before(async function () {
143 });143 });
144});144});
145145
146describe.only('(!negative tests!) Create NFT collection from EVM', () => {146describe('(!negative tests!) Create NFT collection from EVM', () => {
147 let donor: IKeyringPair;147 let donor: IKeyringPair;
148 let nominal: bigint;148 let nominal: bigint;
149149
modifiedtests/src/eth/createRFTCollection.test.tsdiffbeforeafterboth
21import {CollectionLimitField} from './util/playgrounds/types';21import {CollectionLimitField} from './util/playgrounds/types';
2222
2323
24describe.only('Create RFT collection from EVM', () => {24describe('Create RFT collection from EVM', () => {
25 let donor: IKeyringPair;25 let donor: IKeyringPair;
2626
27 before(async function() {27 before(async function() {
154 });154 });
155});155});
156156
157describe.only('(!negative tests!) Create RFT collection from EVM', () => {157describe('(!negative tests!) Create RFT collection from EVM', () => {
158 let donor: IKeyringPair;158 let donor: IKeyringPair;
159 let nominal: bigint;159 let nominal: bigint;
160160
modifiedtests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth
80};80};
8181
8282
83describe.only('Fractionalizer contract usage', () => {83describe('Fractionalizer contract usage', () => {
84 let donor: IKeyringPair;84 let donor: IKeyringPair;
8585
86 before(async function() {86 before(async function() {
modifiedtests/src/eth/nonFungible.test.tsdiffbeforeafterboth
929 });929 });
930 });930 });
931931
932 itEth.only('Returns collection name', async ({helper}) => {932 itEth('Returns collection name', async ({helper}) => {
933 // FIXME: should not have balance to use .call()933 // FIXME: should not have balance to use .call()
934 const caller = await helper.eth.createAccountWithBalance(donor);934 const caller = await helper.eth.createAccountWithBalance(donor);
935 const tokenPropertyPermissions = [{935 const tokenPropertyPermissions = [{
modifiedtests/src/eth/payable.test.tsdiffbeforeafterboth
41 expect(await contract.methods.getCollected().call()).to.be.equal('10000');41 expect(await contract.methods.getCollected().call()).to.be.equal('10000');
42 });42 });
4343
44 itEth.only('Evm contract can receive wei from substrate account', async ({helper}) => {44 itEth('Evm contract can receive wei from substrate account', async ({helper}) => {
45 const deployer = await helper.eth.createAccountWithBalance(donor);45 const deployer = await helper.eth.createAccountWithBalance(donor);
46 const contract = await helper.eth.deployCollectorContract(deployer);46 const contract = await helper.eth.deployCollectorContract(deployer);
47 const [alice] = await helper.arrange.createAccounts([40n], donor);47 const [alice] = await helper.arrange.createAccounts([40n], donor);
modifiedtests/src/eth/reFungible.test.tsdiffbeforeafterboth
679 });679 });
680 });680 });
681681
682 itEth.only('Returns collection name', async ({helper}) => {682 itEth('Returns collection name', async ({helper}) => {
683 // FIXME: should not have balance to use .call()683 // FIXME: should not have balance to use .call()
684 const caller = await helper.eth.createAccountWithBalance(alice);684 const caller = await helper.eth.createAccountWithBalance(alice);
685 const tokenPropertyPermissions = [{685 const tokenPropertyPermissions = [{
modifiedtests/src/eth/tokenProperties.test.tsdiffbeforeafterboth
314 expect(result.length).to.equal(0);314 expect(result.length).to.equal(0);
315 }));315 }));
316316
317 itEth.only('Can be read', async({helper}) => {317 itEth('Can be read', async({helper}) => {
318 // FIXME: User with no balance should be able to call318 // FIXME: User with no balance should be able to call
319 const caller = await helper.eth.createAccountWithBalance(alice);319 const caller = await helper.eth.createAccountWithBalance(alice);
320 const collection = await helper.nft.mintCollection(alice, {320 const collection = await helper.nft.mintCollection(alice, {
modifiedtests/src/maintenance.seqtest.tsdiffbeforeafterboth
325 expect(await helper.preimage.getPreimageInfo(preimageHashes[0])).to.have.property('unrequested');325 expect(await helper.preimage.getPreimageInfo(preimageHashes[0])).to.have.property('unrequested');
326 });326 });
327327
328 itSub.only('Does not allow execution of a preimage that would fail', async ({helper}) => {328 itSub('Does not allow execution of a preimage that would fail', async ({helper}) => {
329 const [zeroAccount] = await helper.arrange.createAccounts([0n], superuser);329 const [zeroAccount] = await helper.arrange.createAccounts([0n], superuser);
330330
331 const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [331 const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [
modifiedtests/src/vesting.test.tsdiffbeforeafterboth
103 expect(balanceSender.reserved).to.eq(0n);103 expect(balanceSender.reserved).to.eq(0n);
104 });104 });
105105
106 itSub.only('cannot send more tokens than have', async ({helper}) => {106 itSub('cannot send more tokens than have', async ({helper}) => {
107 const [sender, receiver] = await helper.arrange.createAccounts([1000n, 1n], donor);107 const [sender, receiver] = await helper.arrange.createAccounts([1000n, 1n], donor);
108 const schedule = {start: 0n, period: 1n, periodCount: 1n, perPeriod: 100n * nominal};108 const schedule = {start: 0n, period: 1n, periodCount: 1n, perPeriod: 100n * nominal};
109 const manyPeriodsSchedule = {start: 0n, period: 1n, periodCount: 100n, perPeriod: 10n * nominal};109 const manyPeriodsSchedule = {start: 0n, period: 1n, periodCount: 100n, perPeriod: 10n * nominal};