
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@spartez-software/ui-test-utils
Advanced tools
spartez test utils
(Beta)Various UI test helpers - jest and puppeteer based
npm install @spartez-software/ui-test-utils --save-dev
TEST_JIRA_URL=https://your-cloud-jira-instance-name.atlassian.net
JIRA_ACT_AS_USER=user-be-testing-app@spartez-software.com
JIRA_ACT_AS_USER_PASSWORD=pst! it is a secret!, not a token!
import 'dotenv/config';
import { Browser, Page } from 'puppeteer';
import * as puppeteer from 'puppeteer';
import { step } from '@spartez-software/test-utils';
import {
cleanupScreenshots, loginToJira, screenshot, setupOutputDirectory,
forwardConsoleAndRequestsFromBrowser, waitTillHTMLRendered
} from '@spartez-software/ui-test-utils';
describe('jira - login', () => {
jest.setTimeout(120000);
const jiraUrl = String(process.env.TEST_JIRA_URL);
const user = String(process.env.JIRA_ACT_AS_USER);
const pass = String(process.env.JIRA_ACT_AS_USER_PASSWORD);
let page : Page;
let browser : Browser;
beforeAll(async () => {
cleanupScreenshots();
setupOutputDirectory();
browser = await puppeteer.launch({
headless: true,
args: ['--no-sandbox'],
});
});
afterAll(async () => {
await browser.close();
});
beforeEach(async () => {
page = await browser.newPage();
});
afterEach(async () => {
await screenshot(page);
await page.close();
});
test('Should get valid board id for kanban nextgen', async () => {
page = await browser.newPage();
await page.setViewport({
width: 1920,
height: 1080,
});
await forwardConsoleAndRequestsFromBrowser(page);
await step(`Login to jira ${jiraUrl}`, async () => {
await loginToJira(page, jiraUrl, user, pass);
await waitTillHTMLRendered(page);
});
await step('verify jira is there', async () => {
const jira = await page.$('#jira-frontend');
expect(jira).toBeDefined();
})
});
});
FAQs
Spartez UI tests helper lib
The npm package @spartez-software/ui-test-utils receives a total of 706 weekly downloads. As such, @spartez-software/ui-test-utils popularity was classified as not popular.
We found that @spartez-software/ui-test-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.