difftreelog
test remove .only
in: master
14 files changed
tests/src/benchmarks/utils/common.tsdiffbeforeafterbothno syntactic changes
tests/src/creditFeesToTreasury.seqtest.tsdiffbeforeafterboth88 expect(treasuryIncrease).to.be.equal(fee);88 expect(treasuryIncrease).to.be.equal(fee);89 });89 });909091 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);9494tests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';18import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index';19import {itEth, expect} from './util';19import {itEth, expect} from './util';202021describe.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});321321322describe.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;tests/src/eth/createFTCollection.seqtest.tsdiffbeforeafterboth202021const DECIMALS = 18;21const DECIMALS = 18;222223describe.only('Create FT collection from EVM', () => {23describe('Create FT collection from EVM', () => {24 let donor: IKeyringPair;24 let donor: IKeyringPair;252526 before(async function() {26 before(async function() {tests/src/eth/createFTCollection.test.tsdiffbeforeafterboth222223const DECIMALS = 18;23const DECIMALS = 18;242425describe.only('Create FT collection from EVM', () => {25describe('Create FT collection from EVM', () => {26 let donor: IKeyringPair;26 let donor: IKeyringPair;272728 before(async function() {28 before(async function() {129 });129 });130});130});131131132describe.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;135135tests/src/eth/createNFTCollection.test.tsdiffbeforeafterboth21import {COLLECTION_HELPER} from '../util';21import {COLLECTION_HELPER} from '../util';2222232324describe.only('Create NFT collection from EVM', () => {24describe('Create NFT collection from EVM', () => {25 let donor: IKeyringPair;25 let donor: IKeyringPair;262627 before(async function () {27 before(async function () {143 });143 });144});144});145145146describe.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;149149tests/src/eth/createRFTCollection.test.tsdiffbeforeafterboth21import {CollectionLimitField} from './util/playgrounds/types';21import {CollectionLimitField} from './util/playgrounds/types';2222232324describe.only('Create RFT collection from EVM', () => {24describe('Create RFT collection from EVM', () => {25 let donor: IKeyringPair;25 let donor: IKeyringPair;262627 before(async function() {27 before(async function() {154 });154 });155});155});156156157describe.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;160160tests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth80};80};8181828283describe.only('Fractionalizer contract usage', () => {83describe('Fractionalizer contract usage', () => {84 let donor: IKeyringPair;84 let donor: IKeyringPair;858586 before(async function() {86 before(async function() {tests/src/eth/nonFungible.test.tsdiffbeforeafterboth929 });929 });930 });930 });931931932 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 = [{tests/src/eth/payable.test.tsdiffbeforeafterboth41 expect(await contract.methods.getCollected().call()).to.be.equal('10000');41 expect(await contract.methods.getCollected().call()).to.be.equal('10000');42 });42 });434344 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);tests/src/eth/reFungible.test.tsdiffbeforeafterboth679 });679 });680 });680 });681681682 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 = [{tests/src/eth/tokenProperties.test.tsdiffbeforeafterboth314 expect(result.length).to.equal(0);314 expect(result.length).to.equal(0);315 }));315 }));316316317 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 call319 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, {tests/src/maintenance.seqtest.tsdiffbeforeafterboth325 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 });327327328 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);330330331 const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [331 const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [tests/src/vesting.test.tsdiffbeforeafterboth103 expect(balanceSender.reserved).to.eq(0n);103 expect(balanceSender.reserved).to.eq(0n);104 });104 });105105106 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};