Skip to content

Commit

Permalink
remove ID from address label (MystenLabs#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Cannefax authored May 5, 2022
1 parent 9bc7346 commit 141d3a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions explorer/client/src/__tests__/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('End-to-end Tests', () => {
});

// TODO - rewrite this test to use the new transaction data and state object
/*
/*
describe('Transaction Results', () => {
//Specific to transaction tests:
const successTransactionID = 'txCreateSuccess';
Expand Down Expand Up @@ -249,7 +249,7 @@ describe('End-to-end Tests', () => {
it('has correct structure', async () => {
await page.goto(`${BASE_URL}/addresses/${successAddressID}`);

const labels = ['Address ID', 'Owned Objects'];
const labels = ['Address', 'Owned Objects'];

for (let i = 1; i <= labels.length; i++) {
const value = await page.$eval(
Expand Down Expand Up @@ -292,7 +292,7 @@ describe('End-to-end Tests', () => {
const ownerLink = await page.$('div#owner > span:first-child');
await ownerLink.click();

//Looking for object or address ID?
//Looking for object or address?
const lookingFor =
parentIsA === 'addresses' ? '#addressID' : '#objectID';

Expand Down
2 changes: 1 addition & 1 deletion explorer/client/src/pages/address-result/AddressResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function AddressResult() {
return (
<div className={theme.textresults} id="textResults">
<div>
<div>Address ID</div>
<div>Address</div>
<div id="addressID">
<Longtext
text={addressID}
Expand Down

0 comments on commit 141d3a9

Please sign in to comment.