Skip to content

Commit

Permalink
v0.6.1
Browse files Browse the repository at this point in the history
Fixed failing tests
  • Loading branch information
ekuiter committed Mar 23, 2019
1 parent 3263939 commit f55dc03
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ exports[`AboutPanel renders correctly 1`] = `
View, edit and analyze feature models in the browser - with support for real-time collaboration.
</p>
<p>
This project is released under the
This project is a research effort of the
<StyledLinkBase
href="http://www.dbse.ovgu.de/"
target="_blank"
>
DBSE working group
</StyledLinkBase>
and has been released under the
<StyledLinkBase
href="https://github.com/ekuiter/variED/blob/master/LICENSE.txt"
target="_blank"
Expand All @@ -25,6 +32,22 @@ exports[`AboutPanel renders correctly 1`] = `
</StyledLinkBase>
.
</p>
<p>
If you would like to leave any feedback, use our
<StyledLinkBase
href="https://goo.gl/forms/uUJmj68FYir9vEI13"
target="_blank"
>
online form
</StyledLinkBase>
or
<StyledLinkBase
href="mailto:[email protected]"
>
mail me
</StyledLinkBase>
.
</p>
<p>
<StyledLinkBase
href="https://github.com/ekuiter/variED"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ exports[`FeatureCallout renders information for a feature with a description 1`]
items={
Array [
Object {
"disabled": false,
"iconOnly": true,
"iconProps": Object {
"iconName": "Add",
Expand All @@ -54,6 +55,7 @@ exports[`FeatureCallout renders information for a feature with a description 1`]
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Add",
},
Expand All @@ -76,7 +78,6 @@ exports[`FeatureCallout renders information for a feature with a description 1`]
"text": undefined,
},
Object {
"disabled": false,
"iconOnly": true,
"iconProps": Object {
"iconName": "Remove",
Expand All @@ -87,6 +88,7 @@ exports[`FeatureCallout renders information for a feature with a description 1`]
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Remove",
},
Expand Down Expand Up @@ -199,6 +201,7 @@ exports[`FeatureCallout renders information for a feature without a description
items={
Array [
Object {
"disabled": false,
"iconOnly": true,
"iconProps": Object {
"iconName": "Add",
Expand All @@ -209,6 +212,7 @@ exports[`FeatureCallout renders information for a feature without a description
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Add",
},
Expand All @@ -231,7 +235,6 @@ exports[`FeatureCallout renders information for a feature without a description
"text": undefined,
},
Object {
"disabled": false,
"iconOnly": true,
"iconProps": Object {
"iconName": "Remove",
Expand All @@ -242,6 +245,7 @@ exports[`FeatureCallout renders information for a feature without a description
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Remove",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ exports[`FeatureContextualMenu renders correctly for a selection of features 1`]
"text": "New feature above",
},
Object {
"disabled": true,
"iconOnly": false,
"iconProps": Object {
"iconName": "Remove",
Expand All @@ -29,6 +28,7 @@ exports[`FeatureContextualMenu renders correctly for a selection of features 1`]
"subMenuProps": Object {
"items": Array [
Object {
"disabled": true,
"iconProps": Object {
"iconName": "Remove",
},
Expand Down Expand Up @@ -136,6 +136,7 @@ exports[`FeatureContextualMenu renders correctly for a selection of features 1`]
},
Object {
"canCheck": true,
"disabled": false,
"isChecked": false,
"key": "hidden",
"onClick": [Function],
Expand Down Expand Up @@ -209,6 +210,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
items={
Array [
Object {
"disabled": false,
"iconOnly": false,
"iconProps": Object {
"iconName": "Add",
Expand All @@ -219,6 +221,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Add",
},
Expand All @@ -241,7 +244,6 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
"text": "New",
},
Object {
"disabled": false,
"iconOnly": false,
"iconProps": Object {
"iconName": "Remove",
Expand All @@ -252,6 +254,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
"subMenuProps": Object {
"items": Array [
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Remove",
},
Expand Down Expand Up @@ -322,6 +325,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
"key": "divider",
},
Object {
"disabled": false,
"iconProps": Object {
"iconName": "Rename",
},
Expand All @@ -331,6 +335,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
"text": "Rename…",
},
Object {
"disabled": false,
"iconProps": Object {
"iconName": "TextDocument",
},
Expand Down Expand Up @@ -367,6 +372,7 @@ exports[`FeatureContextualMenu renders correctly for a single feature 1`] = `
},
Object {
"canCheck": true,
"disabled": false,
"isChecked": false,
"key": "hidden",
"onClick": [Function],
Expand Down
4 changes: 2 additions & 2 deletions client/src/helpers/Dialog.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ describe('Dialog', () => {
wrapper = textFieldDialog(onSubmit, onDismiss);
wrapper.find(TextField).simulate('change', null, 'some value');
wrapper.find(PrimaryButton).simulate('click');
expect(onSubmit).toBeCalledWith('some value');
expect(onSubmit).toBeCalledWith('some value', {current: null});
expect(onDismiss).toBeCalled();
});

Expand All @@ -117,7 +117,7 @@ describe('Dialog', () => {
wrapper = textFieldDialog(onSubmit, onDismiss);
wrapper.find(TextField).simulate('change', null, 'some value');
wrapper.find(TextField).simulate('keyPress', {key: 'Enter'});
expect(onSubmit).toBeCalledWith('some value');
expect(onSubmit).toBeCalledWith('some value', {current: null});
expect(onDismiss).toBeCalled();
});

Expand Down

0 comments on commit f55dc03

Please sign in to comment.