Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nebula.js/cli-create

Package Overview
Dependencies
Maintainers
7
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula.js/cli-create - npm Package Compare versions

Comparing version 4.0.0-alpha.9 to 4.0.0-alpha.10

templates/sn/common/playwright.config.js

4

package.json
{
"name": "@nebula.js/cli-create",
"version": "4.0.0-alpha.9",
"version": "4.0.0-alpha.10",
"description": "",

@@ -30,3 +30,3 @@ "license": "MIT",

},
"gitHead": "4041f477f85702b2e55626d5920ca5604a45fbf2"
"gitHead": "0ffa335271ce6e7f4bc58df9b2e7681ff1487984"
}

@@ -68,3 +68,3 @@ # @nebula.js/cli-create

You can find the [tutorial](https://qlik.dev/tutorials/build-a-helloworld-extension-using-nebulajs) to build a basic nebula visualization using nebula.js.
You can find the [tutorial](https://qlik.dev/extend/extend-quickstarts/first-extension) to build a basic nebula visualization using nebula.js.

@@ -77,3 +77,3 @@ #### Create a mashup

You can find the [tutorial](https://qlik.dev/tutorials/build-a-simple-mashup-using-nebulajs) to build a basic mashup using nebula.js.
You can find the [tutorial](https://qlik.dev/embed/integrate-web-apps/build-a-simple-mashup) to build a basic mashup using nebula.js.

@@ -80,0 +80,0 @@ #### Package manager

@@ -11,3 +11,3 @@ import { useElement } from '@nebula.js/stardust';

* @param {object=} galaxy.anything.sense Optional object only present within Sense,
* see: https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense
* see: https://qlik.dev/extend/build-extension/in-qlik-sense
*/

@@ -14,0 +14,0 @@ export default function supernova(galaxy) {

const { test, expect } = require('@playwright/test');
const path = require('path');
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line
test.describe('sn', () => {
let server;
test.beforeAll(async () => {
server = await serve({
build: false,
open: false,
fixturePath: path.resolve(__dirname, 'fixtures'),
});
process.env.BASE_URL = server.url;
});
test.afterAll(() => {
server.close();
});
test('should say hello', async ({ page }) => {
const content = '.njs-viz[data-render-count="1"]';
const url = `${process.env.BASE_URL}/render?fixture=hello.fix.js`;
await page.goto(url);
await page.goto('/render?fixture=hello.fix.js');
await page.waitForSelector(content, { visible: true });

@@ -27,0 +8,0 @@ const text = await page.$eval(content, (el) => el.textContent);

const { test, expect } = require('@playwright/test');
const path = require('path');
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line
test.describe('barchart', () => {
let server;
test.beforeAll(async () => {
server = await serve({
build: false,
open: false,
fixturePath: path.resolve(__dirname, 'fixtures'),
});
process.env.BASE_URL = server.url;
});
test.afterAll(() => {
server.close();
});
test('should have 20 bars', async ({ page }) => {
await page.goto(`${process.env.BASE_URL}/render?fixture=scenario-1.fix.js`);
await page.goto('/render?fixture=scenario-1.fix.js');
await page.waitForSelector('.njs-viz[data-render-count="1"]', {

@@ -24,0 +7,0 @@ visible: true,

@@ -25,3 +25,3 @@ import {

* @param {object=} galaxy.anything.sense Optional object only present within Sense,
* see: https://qlik.dev/libraries-and-tools/nebulajs/in-qlik-sense
* see: https://qlik.dev/extend/build-extension/in-qlik-sense
*/

@@ -28,0 +28,0 @@ export default function supernova(galaxy) {

/* eslint no-unused-vars: 0 */
const { test, expect } = require('@playwright/test');
const path = require('path');
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line
test.describe('barchart', () => {
let server;
test.beforeAll(async () => {
server = await serve({
build: false,
open: false,
fixturePath: path.resolve(__dirname, 'fixtures'),
});
process.env.BASE_URL = server.url;
});
test.afterAll(() => {
server.close();
});
test('should have 20 bars', async ({ page }) => {
test.describe('minimal', () => {
test('should test picasso chart', async ({ page }) => {
// add your e2e tests here...

@@ -24,0 +7,0 @@ // expect(1 + 1).toBe(2)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc