0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00

chore: fix e2e

This commit is contained in:
Juan Picado @jotadeveloper 2019-02-17 20:39:58 +01:00
parent 9699e0bab7
commit f1bad195e4
No known key found for this signature in database
GPG key ID: 18AC54485952D158
2 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@ class DetailSidebar extends Component {
renderSideBar = ({packageName, packageMeta}) => {
return (
<>
<div className={'sidebar-info'}>
<Card>
<CardContent>
{this.renderTitle(packageName, packageMeta)}
@ -45,13 +45,13 @@ class DetailSidebar extends Component {
{/* {this.renderLicense()} */}
</CardContent>
</Card>
</>
</div>
);
}
renderTitle = (packageName, packageMeta) => {
return (
<List>
<List className={'detail-info'}>
<TitleListItem alignItems={"flex-start"}>
<ListItemText
primary={<b>{packageName}</b>}

View file

@ -5,7 +5,7 @@
const scopedPackageMetadata = require('./partials/pkg-scoped');
const protectedPackageMetadata = require('./partials/pkg-protected');
describe.skip('/ (Verdaccio Page)', () => {
describe('/ (Verdaccio Page)', () => {
let page;
// this might be increased based on the delays included in all test
jest.setTimeout(200000);
@ -140,7 +140,7 @@ describe.skip('/ (Verdaccio Page)', () => {
test('should contains last sync information', async () => {
const versionList = await page.$$('.sidebar-info .detail-info');
expect(versionList).toHaveLength(3);
expect(versionList).toHaveLength(1);
});
test('should publish a protected package', async () => {