Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion packages/selenium-ide/src/api/v1/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import popupRouter from './popup'
import UiState from '../../neo/stores/view/UiState'
import WindowSession from '../../neo/IO/window-session'
import ModalState from '../../neo/stores/view/ModalState'
import { loadJSProject } from '../../neo/IO/filesystem'
import { loadJSProject, } from '../../neo/IO/filesystem'
import { migrateTestCase, } from '../../neo/IO/legacy/migrate'
import manager from '../../plugin/manager'

const router = new Router()
Expand Down Expand Up @@ -220,6 +221,12 @@ router.post('/project', (req, res) => {
})
})

router.get('/migrate', (req, res) => {
controlledOnly(req, res).then(() => {
res (migrateTestCase(req.contents))
})
})

router.use('/playback', playbackRouter)
router.use('/record', recordRouter)
router.use('/export', exportRouter)
Expand Down
9 changes: 7 additions & 2 deletions packages/selenium-ide/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
"version": "3.16.1",
"version_name": "3.16.1",
"homepage_url": "https://github.com/SeleniumHQ/selenium-ide",
"icons": {
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
}
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"64": "icons/icon64.png",
Expand All @@ -18,7 +23,7 @@
"64": "icons/icon_menu64.png"
},
"default_title": "Selenium IDE"
},
},
"permissions": [
"tabs",
"activeTab",
Expand Down
2 changes: 1 addition & 1 deletion packages/selenium-ide/src/neo/containers/Panel/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export default class Panel extends React.Component {
<Modal
project={this.state.project}
createNewProject={this.createNewProject.bind(this)}
/>
/>
<Tooltip />
</SuiteDropzone>
</div>
Expand Down
2 changes: 2 additions & 0 deletions packages/selenium-ide/webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const autoprefixer = require('autoprefixer')

const isProduction = process.env.NODE_ENV === 'production'
//const isProduction = true
console.log ('--> production ' + isProduction + ' <--');

module.exports = {
context: path.resolve(__dirname, 'src'),
Expand Down